Zooming in to iTerm with tmux Integration Resizes Window Instead of Just Text
Thanks for filing an issue! Please answer the questions below so I can help you.
-
iTerm2 version: Build 3.5.0beta10
-
OS version: 13.5 (22G74)
-
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
-
Attach a screen capture video if it would make the reproduction steps clearer.
-
Are you reporting a performance issue, excessive CPU usage, 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 -
Are you reporting excessive memory usage? Please attach a heap analysis: ~~~~~~~~~~~~~~~~~~~~https://gitlab.com/gnachman/iterm2/wikis/heapshot
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem:
- I used my
cdd
function to open a tmux session in a remote ec2. This command just runs:ssh -Ct MYHOST 'sh -l -c "exec tmux -CC -u new-session -A -s remote"'
- Use
CMD+
to zoom in.
What happened:
The entire window gets larger or smaller as I press CMD+.
What should have happened:
Just the text size should change and the window should stay the same size.
Additional Details
-
1. I have tried setting this option to both Yes and No and neither made a difference:
-
Outside of tmux / ssh, if I just CMD+ on my default profile terminal window, it resizes the text correctly without changing the window size.
-
On my remote ec2,
tmux -V
istmux 3.3a
. -
I am creating a single tmux session with a single window here. My usual workflow is a single tmux session named
remote
with several windows of various sizes.