1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

docs and related fix for #6099

We should avoid nudging the scrollback position when there is no
scrollback allowed in this other case as well.

refs: https://github.com/wez/wezterm/pull/6099
This commit is contained in:
Wez Furlong 2024-09-14 06:42:10 -07:00
parent f911e48a95
commit 45ec2464e5
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 5 additions and 1 deletions

View File

@ -107,6 +107,8 @@ As features stabilize some brief notes about them will accumulate here.
for the local system via `getaddrinfo`. #5543
* DECSLRM incorrectly clamped the left margin based on the terminal height
instead of the terminal width. Thanks to @j4james and @tmccombs! #5871 #5750
* Scrollback position was incorrectly advanced when in alt-screen mode.
Thanks to @tbung! #6099 #4607
#### Updated
* Bundled conpty.dll and OpenConsole.exe to build 1.19.240130002.nupkg

View File

@ -754,7 +754,9 @@ impl Screen {
let to_clear = len - self.physical_rows;
for _ in 0..to_clear {
self.lines.pop_front();
self.stable_row_index_offset += 1;
if self.allow_scrollback {
self.stable_row_index_offset += 1;
}
}
}