Show window dimensions in titlebar in iTerm2
In the default Terminal app the current width and height of the window are always displayed in the title bar, whereas in iTerm2 they're only displayed for a few moments when resizing.
How can I change it so that they're always visible in iTerm2 too?
Solution 1:
Can't find the correct variable for the title. But if you go to iTerm2-> Preferences -> Profiles -> Session -> Configure Session
, you can create a custom menu component with title as \(rows) x \(columns)
and it will show the width. I know it's not the perfect solution but will do your job.
Make sure your status bar enabled
is checked.