After viewing a file with less command, the screen gets garbled
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version:
- OS version:
- 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
- Are you reporting a crash? Please attach the crash log. Instructions at https://gitlab.com/gnachman/iterm2/wikis/crash-logs
Detailed steps to reproduce the problem:
- Try to view 4-5 files using less command. Then run some usual commands like date, ls -lrth etc. Then again view 4-5 files with less command. If you scroll up, you will find the text on the iterm tab is garbled. Basically, the text present in less command gets printed on the screen which should not happen after using less command. The text of the files which were viewed using less command overwrites output of other commands. This makes viewing output of other commands very difficult.
- Second bug is sometimes i have seen the text of output printed twice on an Iterm tab. When i scroll up, this creates confusion and i start doubting myself if i ran the same command twice but that is not the case.
What happened: Viewing output of files using less command garbles the screen with lot of text. Second bug - one output is seen executed twice, but that is not the case.
What should have happened: Less command output should not be printed on Iterm tab. Command once run should be seen only once while scrolling up.