From c542fc871743f96f4e665e80f9274a262421d847 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 13 May 2026 18:53:37 +0300 Subject: fix: gate kitty graphics behind config --- src/pane.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index 8a89fa54..d9b63fb9 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -357,9 +357,11 @@ impl PaneRuntime { let mut terminal = crate::ghostty::Terminal::new(cols, rows, scrollback_limit_bytes) .map_err(|e| std::io::Error::other(e.to_string()))?; - terminal - .enable_kitty_graphics() - .map_err(|e| std::io::Error::other(e.to_string()))?; + if crate::kitty_graphics::is_enabled() { + terminal + .enable_kitty_graphics() + .map_err(|e| std::io::Error::other(e.to_string()))?; + } let pane_terminal = GhosttyPaneTerminal::new(terminal, input_tx.clone())?; pane_terminal.apply_host_terminal_theme(host_terminal_theme); let terminal = Arc::new(PaneTerminal::new(pane_terminal)); -- cgit v1.2.3