1

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?

3

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.

enter image description here

Make sure your status bar enabled is checked.

  • 1
    You were on the right track, going to iTerm2 -> Preferences -> Profiles -> General -> Name and changing the name to \(columns) x \(rows) does the job. – noibe Aug 20 at 12:02
  • Actually now I have the opposite problem, when I resize the terminal dimensions are displayed twice. Do you know how to not to show the dimensions when resizing? – noibe Aug 20 at 12:08
  • I could not find an easy way to do this except write a custom script to change the behavior of the windows resizing. I will try this later and update here if I succeed. – Anshul Choudhary Aug 20 at 16:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .