mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.53k stars 728 forks source link

Option to disable mosh-client repaint on Ctrl-L #1061

Open githuberto opened 5 years ago

githuberto commented 5 years ago

Pressing Ctrl-L in mosh seems to be triggering a client-side repaint. This is good for single-terminal sessions, but it's not always desirable. For example, when using https://github.com/christoomey/vim-tmux-navigator, Ctrl-L becomes a navigation keystroke, so mosh repaints every time you navigate to the right which can be jarring and laggy.

Would it be possible to have an option to disable this client-side repaint prediction?

cgull commented 4 years ago

The Ctrl-L behavior has irritated me slightly for a long time. A possible fix:

How would people feel about that?

tlhonmey commented 4 years ago

I would think that all commands to the client itself need to be preceded by the escape sequence.