I am using iTerm in Mac OS X. When I run screen
, the terminal is resized and I get the message
Aborted because of window size change.
However, screen
is still running.
How do I get it to stop resizing my terminal?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityThis will fix the problem: Bookmarks –> Manage Profiles –> Terminal Profiles –> Default
check "Disable session-initiated window resizing"
See also "iTerm resize the window itself when using screen".
NVIM v0.3.8
) my iTerm2 (Build 3.3.2
) window used to shrink in both width and height by one row and column which did not happen with e.g. Vim 8.1. Your solution fixed that issue for me!
Based on an Ubuntu forum post on problems with screen, I found that adding
termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
fixes the problem, but I have yet to examine it to find out how.