-
-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compatibility): do not set scroll buffer in alternate screen (#1032)
avoid moving lines to lines_above when in alternate screen. adjust resizing when in alternate screen: * remove extra lines instead of sending to lines_above * truncate excess characters
- Loading branch information
Showing
4 changed files
with
117 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[?1049hline1aaaaaaaaaaaaaaa | ||
line2aaaaaaaaaaaaaaa | ||
line3aaaaaaaaaaaaaaa | ||
line4aaaaaaaaaaaaaaa | ||
line5aaaaaaaaaaaaaaa | ||
line6aaaaaaaaaaaaaaa | ||
line7aaaaaaaaaaaaaaa | ||
line8aaaaaaaaaaaaaaa | ||
line9aaaaaaaaaaaaaaa | ||
line10aaaaaaaaaaaaaa | ||
line11aaaaaaaaaaaaaa | ||
line12aaaaaaaaaaaaaa | ||
line13aaaaaaaaaaaaaa | ||
line14aaaaaaaaaaaaaa | ||
line15aaaaaaaaaaaaaa | ||
line16aaaaaaaaaaaaaa | ||
line17aaaaaaaaaaaaaa | ||
line18aaaaaaaaaaaaaa | ||
line19a🦀aaaaaaaaaaa | ||
line20a🦀🦀aaaaaaaaa | ||
line21🦀🦀🦀🦀🦀🦀🦀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.../unit/snapshots/zellij_server__panes__grid__grid_tests__alternate_screen_change_size.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
source: zellij-server/src/panes/./unit/grid_tests.rs | ||
expression: "format!(\"{:?}\", grid)" | ||
|
||
--- | ||
00 (C): line12aaaa | ||
01 (C): line13aaaa | ||
02 (C): line14aaaa | ||
03 (C): line15aaaa | ||
04 (C): line16aaaa | ||
05 (C): line17aaaa | ||
06 (C): line18aaaa | ||
07 (C): line19a🦀a | ||
08 (C): line20a🦀 | ||
09 (C): line21🦀🦀 | ||
|