Closing tabs on Mac resizes window
Bug report
- iTerm2 version: 3.4.18
- OS version: macOS Ventura 13.1
-
~/Library/Preferences/com.googlecode.iterm2.plist
: com.googlecode.iterm2.plist - Screen_Recording_2022-12-19_at_12.38.33_PM
Detailed steps to reproduce the problem
- Have an iTerm window with at least 2 tabs
- Close all tabs except one
- Once there is only one tab left, note the window was resized to be shorter on the bottom
- Add another tab back and note the window is resized again properly
What happened
Closing all tabs removes the bar to switch between them which resizes the entire window because it isn't filled. Adding another tab adds the bar back which makes the size correct
What should have happened
Adding/removing tabs shouldn't affect the size of the window.