ScreenSet

This commit is contained in:
Mitchell Hashimoto
2025-11-14 13:19:16 -08:00
parent 368f4f565a
commit 3aff5f0aff
17 changed files with 357 additions and 219 deletions

View File

@@ -583,15 +583,15 @@ pub const StreamHandler = struct {
},
.alt_screen_legacy => {
self.terminal.switchScreenMode(.@"47", enabled);
try self.terminal.switchScreenMode(.@"47", enabled);
},
.alt_screen => {
self.terminal.switchScreenMode(.@"1047", enabled);
try self.terminal.switchScreenMode(.@"1047", enabled);
},
.alt_screen_save_cursor_clear_enter => {
self.terminal.switchScreenMode(.@"1049", enabled);
try self.terminal.switchScreenMode(.@"1049", enabled);
},
// Mode 1048 is xterm's conditional save cursor depending