scrollback-limit value not respected #12357
Issue Descriptionscrollback-limit is not being applied correctly. The effective scrollback is significantly less than the configured value, and counterintuitively, a higher configured limit results in less accessible scrollback than a lower one. Additional context Expected BehaviorSteps to reproduce Set scrollback-limit = 10000 in config, fully restart Ghostty Expected: scrollback begins at or near line 1 Repeating with scrollback-limit = 500: Scrollback begins at approximately line 9574 (~426 lines accessible) The lower configured value produces more accessible scrollback, which is the inverse of expected behavior. Actual BehaviorObserved: scrollback begins at approximately line 9079 (~921 lines accessible) and the lower configured value produces more accessible scrollback, which is the inverse of expected behavior. Reproduction StepsSteps to reproduce Set scrollback-limit = 10000 in config, fully restart Ghostty Ghostty LogsGhostty VersionOS Version InformationDarwin Ivans-MacBook-Pro.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:33:25 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6041 arm64 arm Darwin (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationall default. You se the built in settings button to open the config file and add:
scrollback-limit = 10000Additional Relevant Configurationon Apple Terminal and iTerm2 it works normally. I acknowledge that:
|
Replies: 1 comment
|
This has been discussed several times before, so search the discussions for more details. Footnotes
|
scrollback-limitworks as follows:seq 10000) you don't get more lines than if your content uses the full…