I have set the scrollback limit to 20000 for the Default Profile:

enter image description here

However the scrolling only has 1000 lines. I verified by tiny python program writing 1200 lines to an output file and then cating the file. only the first 960 were shown (I had some 40 lines of other stuff apparently).

What am I missing?

  • How many lines in your Terminal window? If it’s not a multiple of 25, those, may be lines you are missing.
    – Allan
    Commented Mar 17, 2023 at 6:50
  • 1000 lines. i don't really understand your question maybe Commented Mar 17, 2023 at 7:12
  • A terminal screen is normally 25 lines, however this can be adjusted.
    – Allan
    Commented Mar 17, 2023 at 7:17
  • 1
    This question is about the scrollback not the terminal size Commented Mar 17, 2023 at 7:17

1 Answer 1


Quitting iTerm completely and restarting fixed the issue. I had mistakenly assumed that closing individual tabs/sessions and then creating new sessions would be sufficient.

  • Consider marking your answer as accepted if it answers your problem as you said. It avoids it being bumped by Community bot as unsolved.
    – Thinkr
    Commented Apr 16, 2023 at 9:13
  • @Thinkr Yea i forgot about this: need to wait 2 days before accepting own answer Commented Apr 16, 2023 at 13:29
  • I know, it's annoying. :)
    – Thinkr
    Commented Apr 16, 2023 at 15:13

You must log in to answer this question.

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