tmux control mode(tmux -CC) show in a state of confusion when 'less' running detached from remote
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.0.5
- OS version:10.11.6
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window)
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
- Are you reporting a performance issue or a hang? Please attach a sample. Instructions at https://gitlab.com/gnachman/iterm2/wikis/HowToSample
Detailed steps to reproduce the problem:
- ssh to remote then, use tmux -CC enter the tmux mode. run 'less' within any file
2 .to tmux control window press esc detached from tmux. rerun "tmux -CC a" to attach last session.
3 .use q to exit less,
What happened: the window in a state of confusion. cmd + R to reset it. First line is still in a confusion state. enter and then cmd+R it comes to normal. What should have happened: the window refreshed from tmux cache.