diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-06-13 14:55:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 14:55:49 +0200 |
commit | 3d82a2f5ace0526740df8457a07f87c326ec3840 (patch) | |
tree | 4c50bd8d8beea0ecc6cbdf3d2bb59666fd794594 | |
parent | 603eeb4c58b3830aa3614ba028b17b81d3cba88a (diff) |
fix(logs): suppress debug logs when not debugging (#2532)
* fix(logs): suppress debug logs when not debugging
* fix(tests): add debug flag to constructor
-rw-r--r-- | src/tests/e2e/remote_runner.rs | 2 | ||||
-rw-r--r-- | zellij-server/src/lib.rs | 2 | ||||
-rw-r--r-- | zellij-server/src/panes/grid.rs | 19 | ||||
-rw-r--r-- | zellij-server/src/panes/plugin_pane.rs | 4 | ||||
-rw-r--r-- | zellij-server/src/panes/terminal_character.rs | 1 | ||||
-rw-r--r-- | zellij-server/src/panes/terminal_pane.rs | 2 | ||||
-rw-r--r-- | zellij-server/src/panes/unit/grid_tests.rs | 204 | ||||
-rw-r--r-- | zellij-server/src/panes/unit/search_in_pane_tests.rs | 2 | ||||
-rw-r--r-- | zellij-server/src/panes/unit/terminal_pane_tests.rs | 24 | ||||
-rw-r--r-- | zellij-server/src/screen.rs | 6 | ||||
-rw-r--r-- | zellij-server/src/tab/layout_applier.rs | 7 | ||||
-rw-r--r-- | zellij-server/src/tab/mod.rs | 11 | ||||
-rw-r--r-- | zellij-server/src/tab/unit/tab_integration_tests.rs | 18 | ||||
-rw-r--r-- | zellij-server/src/tab/unit/tab_tests.rs | 6 | ||||
-rw-r--r-- | zellij-server/src/unit/screen_tests.rs | 6 |
15 files changed, 309 insertions, 5 deletions
diff --git a/src/tests/e2e/remote_runner.rs b/src/tests/e2e/remote_runner.rs index e5c7d2ef2..2b6d82298 100644 --- a/src/tests/e2e/remote_runner.rs +++ b/src/tests/e2e/remote_runner.rs @@ -189,6 +189,7 @@ fn read_from_channel( width: 8, }))); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); + let debug = false; let mut terminal_output = TerminalPane::new( 0, pane_geom, @@ -202,6 +203,7 @@ fn read_from_channel( Rc::new(RefCell::new(HashMap::new())), None, None, + debug, ); // 0 is the pane index loop { if !should_keep_running.load(Ordering::SeqCst) { diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs index 9707e61e6..53a08f656 100644 --- a/zellij-server/src/lib.rs +++ b/zellij-server/src/lib.rs @@ -749,12 +749,14 @@ fn init_session( let max_panes = opts.max_panes; let client_attributes_clone = client_attributes.clone(); + let debug = opts.debug; move || { screen_thread_main( screen_bus, max_panes, client_attributes_clone, config_options, + debug, ) .fatal(); } diff --git a/zellij-server/src/panes/grid.rs b/zellij-server/src/panes/grid.rs index 6f44f6eb4..cf006d42f 100644 --- a/zellij-server/src/panes/grid.rs +++ b/zellij-server/src/panes/grid.rs @@ -370,6 +370,7 @@ pub struct Grid { pub focus_event_tracking: bool, pub search_results: SearchResult, pub pending_clipboard_update: Option<String>, + debug: bool, } #[derive(Clone, Debug)] @@ -457,6 +458,7 @@ impl Grid { link_handler: Rc<RefCell<LinkHandler>>, character_cell_size: Rc<RefCell<Option<SizeInPixels>>>, sixel_image_store: Rc<RefCell<SixelImageStore>>, + debug: bool, ) -> Self { let sixel_grid = SixelGrid::new(character_cell_size.clone(), sixel_image_store); Grid { @@ -505,6 +507,7 @@ impl Grid { search_results: Default::default(), sixel_grid, pending_clipboard_update: None, + debug, } } pub fn render_full_viewport(&mut self) { @@ -2157,7 +2160,9 @@ impl Perform for Grid { self.set_active_charset(CharsetIndex::G0); }, _ => { - log::warn!("Unhandled execute: {:?}", byte); + if self.debug { + log::warn!("Unhandled execute: {:?}", byte); + } }, } } @@ -2386,7 +2391,9 @@ impl Perform for Grid { }, _ => { - log::warn!("Unhandled osc: {:?}", params); + if self.debug { + log::warn!("Unhandled osc: {:?}", params); + } }, } } @@ -2912,7 +2919,9 @@ impl Perform for Grid { _ => {}, } } else { - log::warn!("Unhandled csi: {}->{:?}", c, params); + if self.debug { + log::warn!("Unhandled csi: {}->{:?}", c, params); + } } } @@ -2994,7 +3003,9 @@ impl Perform for Grid { self.fill_viewport(fill_character); }, _ => { - log::warn!("Unhandled esc_dispatch: {}->{:?}", byte, intermediates); + if self.debug { + log::warn!("Unhandled esc_dispatch: {}->{:?}", byte, intermediates); + } }, } } diff --git a/zellij-server/src/panes/plugin_pane.rs b/zellij-server/src/panes/plugin_pane.rs index 28fdb3d10..d1d595f23 100644 --- a/zellij-server/src/panes/plugin_pane.rs +++ b/zellij-server/src/panes/plugin_pane.rs @@ -39,6 +39,7 @@ macro_rules! get_or_create_grid { $self.link_handler.clone(), $self.character_cell_size.clone(), $self.sixel_image_store.clone(), + $self.debug, ); grid.hide_cursor(); grid @@ -72,6 +73,7 @@ pub(crate) struct PluginPane { pane_frame_color_override: Option<(PaletteColor, Option<String>)>, invoked_with: Option<Run>, loading_indication: LoadingIndication, + debug: bool, } impl PluginPane { @@ -89,6 +91,7 @@ impl PluginPane { currently_connected_clients: Vec<ClientId>, style: Style, invoked_with: Option<Run>, + debug: bool, ) -> Self { let loading_indication = LoadingIndication::new(title.clone()).with_colors(style.colors); let initial_loading_message = loading_indication.to_string(); @@ -118,6 +121,7 @@ impl PluginPane { pane_frame_color_override: None, invoked_with, loading_indication, + debug, }; for client_id in currently_connected_clients { plugin.handle_plugin_bytes(client_id, initial_loading_message.as_bytes().to_vec()); diff --git a/zellij-server/src/panes/terminal_character.rs b/zellij-server/src/panes/terminal_character.rs index db0018c03..23ea1a524 100644 --- a/zellij-server/src/panes/terminal_character.rs +++ b/zellij-server/src/panes/terminal_character.rs @@ -398,7 +398,6 @@ impl CharacterStyles { *self = self.background(Some(AnsiCode::NamedColor(NamedColor::BrightWhite))) }, _ => { - log::warn!("unhandled csi m code {:?}", param); return; }, } diff --git a/zellij-server/src/panes/terminal_pane.rs b/zellij-server/src/panes/terminal_pane.rs index 0c1b55070..c9e125b8d 100644 --- a/zellij-server/src/panes/terminal_pane.rs +++ b/zellij-server/src/panes/terminal_pane.rs @@ -737,6 +737,7 @@ impl TerminalPane { terminal_emulator_color_codes: Rc<RefCell<HashMap<usize, String>>>, initial_pane_title: Option<String>, invoked_with: Option<Run>, + debug: bool, ) -> TerminalPane { let initial_pane_title = initial_pane_title.unwrap_or_else(|| format!("Pane #{}", pane_index)); @@ -748,6 +749,7 @@ impl TerminalPane { link_handler, character_cell_size, sixel_image_store, + debug, ); TerminalPane { frame: HashMap::new(), diff --git a/zellij-server/src/panes/unit/grid_tests.rs b/zellij-server/src/panes/unit/grid_tests.rs index 66f0773f9..3b1864741 100644 --- a/zellij-server/src/panes/unit/grid_tests.rs +++ b/zellij-server/src/panes/unit/grid_tests.rs @@ -24,6 +24,7 @@ fn vttest1_0() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -32,6 +33,7 @@ fn vttest1_0() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-0"; let content = read_fixture(fixture_name); @@ -46,6 +48,7 @@ fn vttest1_1() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -54,6 +57,7 @@ fn vttest1_1() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-1"; let content = read_fixture(fixture_name); @@ -68,6 +72,7 @@ fn vttest1_2() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -76,6 +81,7 @@ fn vttest1_2() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-2"; let content = read_fixture(fixture_name); @@ -90,6 +96,7 @@ fn vttest1_3() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -98,6 +105,7 @@ fn vttest1_3() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-3"; let content = read_fixture(fixture_name); @@ -112,6 +120,7 @@ fn vttest1_4() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -120,6 +129,7 @@ fn vttest1_4() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-4"; let content = read_fixture(fixture_name); @@ -134,6 +144,7 @@ fn vttest1_5() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -142,6 +153,7 @@ fn vttest1_5() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest1-5"; let content = read_fixture(fixture_name); @@ -156,6 +168,7 @@ fn vttest2_0() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -164,6 +177,7 @@ fn vttest2_0() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-0"; let content = read_fixture(fixture_name); @@ -178,6 +192,7 @@ fn vttest2_1() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -186,6 +201,7 @@ fn vttest2_1() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-1"; let content = read_fixture(fixture_name); @@ -200,6 +216,7 @@ fn vttest2_2() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -208,6 +225,7 @@ fn vttest2_2() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-2"; let content = read_fixture(fixture_name); @@ -222,6 +240,7 @@ fn vttest2_3() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -230,6 +249,7 @@ fn vttest2_3() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-3"; let content = read_fixture(fixture_name); @@ -244,6 +264,7 @@ fn vttest2_4() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -252,6 +273,7 @@ fn vttest2_4() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-4"; let content = read_fixture(fixture_name); @@ -266,6 +288,7 @@ fn vttest2_5() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -274,6 +297,7 @@ fn vttest2_5() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-5"; let content = read_fixture(fixture_name); @@ -288,6 +312,7 @@ fn vttest2_6() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -296,6 +321,7 @@ fn vttest2_6() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-6"; let content = read_fixture(fixture_name); @@ -310,6 +336,7 @@ fn vttest2_7() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -318,6 +345,7 @@ fn vttest2_7() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-7"; let content = read_fixture(fixture_name); @@ -332,6 +360,7 @@ fn vttest2_8() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -340,6 +369,7 @@ fn vttest2_8() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-8"; let content = read_fixture(fixture_name); @@ -354,6 +384,7 @@ fn vttest2_9() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -362,6 +393,7 @@ fn vttest2_9() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-9"; let content = read_fixture(fixture_name); @@ -376,6 +408,7 @@ fn vttest2_10() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -384,6 +417,7 @@ fn vttest2_10() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-10"; let content = read_fixture(fixture_name); @@ -398,6 +432,7 @@ fn vttest2_11() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -406,6 +441,7 @@ fn vttest2_11() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-11"; let content = read_fixture(fixture_name); @@ -420,6 +456,7 @@ fn vttest2_12() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -428,6 +465,7 @@ fn vttest2_12() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-12"; let content = read_fixture(fixture_name); @@ -442,6 +480,7 @@ fn vttest2_13() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -450,6 +489,7 @@ fn vttest2_13() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-13"; let content = read_fixture(fixture_name); @@ -464,6 +504,7 @@ fn vttest2_14() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -472,6 +513,7 @@ fn vttest2_14() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest2-14"; let content = read_fixture(fixture_name); @@ -486,6 +528,7 @@ fn vttest3_0() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 41, 110, @@ -494,6 +537,7 @@ fn vttest3_0() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest3-0"; let content = read_fixture(fixture_name); @@ -508,6 +552,7 @@ fn vttest8_0() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -516,6 +561,7 @@ fn vttest8_0() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest8-0"; let content = read_fixture(fixture_name); @@ -530,6 +576,7 @@ fn vttest8_1() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -538,6 +585,7 @@ fn vttest8_1() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest8-1"; let content = read_fixture(fixture_name); @@ -552,6 +600,7 @@ fn vttest8_2() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -560,6 +609,7 @@ fn vttest8_2() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest8-2"; let content = read_fixture(fixture_name); @@ -574,6 +624,7 @@ fn vttest8_3() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -582,6 +633,7 @@ fn vttest8_3() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest8-3"; let content = read_fixture(fixture_name); @@ -596,6 +648,7 @@ fn vttest8_4() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -604,6 +657,7 @@ fn vttest8_4() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, + debug, ); let fixture_name = "vttest8-4"; let content = read_fixture(fixture_name); @@ -618,6 +672,7 @@ fn vttest8_5() { let mut vte_parser = vte::Parser::new(); let sixel_image_store = Rc::new(RefCell::new(SixelImageStore::default())); let terminal_emulator_color_codes = Rc::new(RefCell::new(HashMap::new())); + let debug = false; let mut grid = Grid::new( 51, 97, @@ -626,6 +681,7 @@ fn vttest8_5() { Rc::new(RefCell::new(LinkHandler::new())), Rc::new(RefCell::new(None)), sixel_image_store, |