458

How can I scroll up more on iterm2 to get full output? At times, for example if I am doing unit tests, the errors are so large than I need to keep scrolling up to which I cannot scroll up anymore but the output continues further up beyond the top of the scroll. How can I access that? I tried page up more but not getting me there.

alex
  • 6,818
  • 9
  • 52
  • 103
Mohamed El Mahallawy
  • 13,024
  • 13
  • 52
  • 84
  • the similar question is here: http://stackoverflow.com/questions/12459755/zsh-iterm2-increase-number-of-lines-history – Yang Zongjun Oct 20 '16 at 15:18
  • 2
    Possible duplicate of [ZSH iterm2 increase number of lines history](https://stackoverflow.com/questions/12459755/zsh-iterm2-increase-number-of-lines-history) – Jawa Aug 28 '17 at 11:56

3 Answers3

799

There is an option “unlimited scrollback buffer” which you can find under Preferences > Profiles > Terminal or you can just pump up number of lines that you want to have in history in the same place.

rastasheep
  • 10,416
  • 3
  • 27
  • 37
62

Solution: In order to increase your buffer history on iterm bash terminal you've got two options:

Go to iterm -> Preferences -> Profiles -> Terminal Tab -> Scrollback Buffer (section)

Option 1. select the checkbox Unlimited scrollback

Option 2. type the selected Scrollback lines numbers you'd like your terminal buffer to cache (See image below)

enter image description here

Baumannzone
  • 760
  • 2
  • 19
  • 38
avivamg
  • 12,197
  • 3
  • 67
  • 61
6

macOS default terminal (not iTerm2)

macOS 10.15.7

  1. open Terminal
  2. click Prefrences...
  3. select Window tab
  4. just change Scrollback to Limit number of rows to: what your wanted.

my screenshots

enter image description here

enter image description here

enter image description here

David Hempy
  • 5,373
  • 2
  • 40
  • 68
xgqfrms
  • 10,077
  • 1
  • 69
  • 68