Mosh client got into a slightly inconsistent state and I wanted the local process to repaint the screen. The way to do that was to hit ^L, which also sends ^L to the remote process. In this case my remote process responds to ^L not with a simple repaint but by clearing the screen, and that was undesirable.
It would be nice if some keybinding like ^^^L would do a local repaint and not send anything to the remote process.
I've noticed that on long-running sessions (multi-day) mosh often gets into weird states e.g. the client-side terminal stops showing any updates altogether (even though I see UDP traffic on both ends) or, less frequently, weird artifacts start to appear in vim that even ^L doesn't clear, I have to ^Z out of vim and fg back into it. So having a key combo like, say, Ctrl-^ L to force the mosh client to resync its entire state with the server would be great.
i get this problem way to frequently. very often when switching terminals in tmux or when scrolling.
in particular when the new output does not write full lines, tose lines are not cleared.
i wonder if mosh tries to hard to optimize away unchanged areas.
a refresh that doesn't go to the server would be helpful, but i wonder if a forced resync could be done say every 10 seconds to ensure consistency.
greetings, eMBee.
Most helpful comment
i get this problem way to frequently. very often when switching terminals in tmux or when scrolling.
in particular when the new output does not write full lines, tose lines are not cleared.
i wonder if mosh tries to hard to optimize away unchanged areas.
a refresh that doesn't go to the server would be helpful, but i wonder if a forced resync could be done say every 10 seconds to ensure consistency.
greetings, eMBee.