mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-19 20:18:07 +00:00
#14294 This adds a boolean flag throughout the Zig API and C API to control whether resizing can pull scrollback back into the active area. The default is true, which is the existing behavior. Ptys that keep their own screen buffer without scrollback (namely Windows ConPTY) can't pull rows back, so after a resize that pulls we disagree with the pty about what is on screen and subsequent output lands in the wrong place. Row growth always appends blank rows at the bottom when pulling is disabled. Refs:7c92ecd037/src/cascadia/TerminalCore/Terminal.cpp (L380-L406)c58ea3637f/src/common/buffer/Buffer.ts (L194-L197)b09b56c29c/term/src/screen.rs (L268-L288)