Skip to content
Discussion options

You must be logged in to vote

scrollback-limit works as follows:

  • It's bytes, not lines.
  • It applies to the page buffer holding the processed terminal content, including decoded codepoints and per-cell and per-line style and color information. This takes an order of magnitude more space than the "equivalent" utf8-encoded text file (very roughly 12.5 bytes per cell as far as I recall, but this amortizes per-line data, so the exact number depends on the width of your terminal in addition to the amount of coloring and styling).
  • Blank cells are also represented, so the width of the terminal matters a lot, and even if the content is a narrow column (like seq 10000) you don't get more lines than if your content uses the full…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mitchellh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-confirmation A reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.
2 participants