How to prevent Terminal window from changing its size after opening and closing tab Each time I open and close new tab in Terminal app, the size of window "shrinks" by one line, until it reaches 5 lines, where it stops shrinking at last.

I can literally keep repeating sequence ⌘+T and ⌘+W to reproduce this any time.

I have tried changing Terminal settings, font family and font size, but nothing helped. Is there anything that can be done to prevent this?

Note: this question is not related to Opening tab in Terminal resizes window.
The solution is to turn on setting to always show tab bar, even if only one tab is open in window:


in top bar, go to View → Show Tab Bar,
or use keyboard shortcut ⇧+⌘+T.


This is just a workaround I have found on this site to a bug that is present in Terminal app at least since 2009. So far this is the only solution that was working for me consistently on every OS X installation.