Recently, I switched to iTerm because a lot of people recommends it, but it behaves quite weirdly. It does not automatically enter "alternate screen mode" if less/man/similar commands are run, and it seems like commands cannot overwrite contents on the screen. It seems like using tmux solves some of the issue, but I can't get tmux scrolling to work. Am I doing something wrong? Video: https://youtu.be/mbbEViOS5Kg

1 Answer 1


After following troubleshooting instructions from Nachman (https://gitlab.com/gnachman/iterm2/-/issues/9287),I found that I selected "ansi" as the terminal type for whatever reason I forget. Changing it back to "xterm-256" solves the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.