diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-07-28 12:05:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-28 12:05:38 +0200 |
| commit | 9969ed10b2cd95cb84ddaf8a783949483e2b038b (patch) | |
| tree | b8f6fe9a11e69440b6d9cb8ef56ee71c4d79fe9c /zellij-server/src/tab/unit/tab_integration_tests.rs | |
| parent | Nested session handling (#5417) (diff) | |
| download | sl0ppij-9969ed10b2cd95cb84ddaf8a783949483e2b038b.tar.gz sl0ppij-9969ed10b2cd95cb84ddaf8a783949483e2b038b.tar.xz sl0ppij-9969ed10b2cd95cb84ddaf8a783949483e2b038b.zip | |
Dep upgrades for debian (#5420)
* chore(deps): upgrade base64 0.22, colored 3.1, crossterm 0.29, dialoguer 0.11, directories 6.0, highway 1.2, prost 0.12.6, strip-ansi-escapes 0.2.1, suggest 0.5.1
* chore(deps): upgrade miette 7.6, nix 0.30, notify 8.2, notify-debouncer-full 0.5
* vte 0.15
* clap 4.6
* workspaceify plugin deps
* don't send empty fs watch events
Diffstat (limited to 'zellij-server/src/tab/unit/tab_integration_tests.rs')
| -rw-r--r-- | zellij-server/src/tab/unit/tab_integration_tests.rs | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/zellij-server/src/tab/unit/tab_integration_tests.rs b/zellij-server/src/tab/unit/tab_integration_tests.rs index 3e778b16..9fcb36f5 100644 --- a/zellij-server/src/tab/unit/tab_integration_tests.rs +++ b/zellij-server/src/tab/unit/tab_integration_tests.rs @@ -1044,9 +1044,7 @@ fn take_snapshot(ansi_instructions: &str, rows: usize, columns: usize, palette: explicitly_disable_kitty_keyboard_protocol, ); let mut vte_parser = vte::Parser::new(); - for &byte in ansi_instructions.as_bytes() { - vte_parser.advance(&mut grid, byte); - } + vte_parser.advance(&mut grid, ansi_instructions.as_bytes()); format!("{:?}", grid) } @@ -1083,9 +1081,7 @@ fn take_snapshot_with_sixel( explicitly_disable_kitty_keyboard_protocol, ); let mut vte_parser = vte::Parser::new(); - for &byte in ansi_instructions.as_bytes() { - vte_parser.advance(&mut grid, byte); - } + vte_parser.advance(&mut grid, ansi_instructions.as_bytes()); format!("{:?}", grid) } @@ -1119,9 +1115,7 @@ fn take_snapshot_and_cursor_position( explicitly_disable_kitty_keyboard_protocol, ); let mut vte_parser = vte::Parser::new(); - for &byte in ansi_instructions.as_bytes() { - vte_parser.advance(&mut grid, byte); - } + vte_parser.advance(&mut grid, ansi_instructions.as_bytes()); let coords = grid .cursor_coordinates() .and_then(|(x, y, visible)| if visible { Some((x, y)) } else { None }); @@ -15364,9 +15358,10 @@ fn osc99_grid_parses_and_stores_notification() { // Feed OSC 99 through vte parser let mut vte_parser = vte::Parser::new(); - for &byte in b"\x1b]99;i=gridtest:p=title;Grid notification\x07" { - vte_parser.advance(&mut grid, byte); - } + vte_parser.advance( + &mut grid, + b"\x1b]99;i=gridtest:p=title;Grid notification\x07", + ); assert_eq!( grid.pending_desktop_notifications.len(), |
