Sometime lose ability to scroll back through buffer when using iterm2 with tmux

3,824 views
Skip to first unread message

Kevin Hilton

unread,
Nov 24, 2021, 12:47:54 AM11/24/21
to iterm2-discuss
This happens from time to time but when it does its really annoying and I'm not sure how to fix it other than close the iterm window

I'm using iterm2 3.4.12 on MacOS Big Sur -- using ssh to remote linux and then using tmux.

I usually use mac's touchpad to scroll back to see prior commands entered, but commonly when using the scroll up or scroll down on the touchpad I get these characters:

( 5/10) upgrading linux-lts                                                 [###########################################] 100%
^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B^[[B^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B^[[B
( 6/10) upgrading linux-lts-headers

rather than having the screen actually scroll up and down. These control characters are being interpreted as input rather than controlling.

Is there a way other than exiting the terminal to correct this so that I can actually scroll back through the screen buffer? 

George Nachman

unread,
Dec 3, 2021, 12:34:07 PM12/3/21
to iterm2-...@googlegroups.com
Looks like it’s stuck in mouse reporting mode. You can turn this off by right clicking, choose Terminal State, and turn off Mouse Reporting.

If you install shell integration on your Mac then iTerm2 can detect and fix this automatically.

--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/3d723d19-d951-4b1c-ad43-4c46489f1dcen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages