From c411883ec639c9893ed9c33021c890485e91727b Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 24 Sep 2026 20:59:48 +0300 Subject: feat!: replace the custom graphics api with optimized native kitty rendering (#4561) * feat!: replace the custom graphics api with optimized native kitty rendering * fix: enable safe kitty optimizations automatically --------- Co-authored-by: JJ Liebig --- src/pane.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/pane.rs') diff --git a/src/pane.rs b/src/pane.rs index bfeec638..7d42e9c0 100644 --- a/src/pane.rs +++ b/src/pane.rs @@ -3654,6 +3654,13 @@ impl PaneRuntime { #[cfg(test)] impl PaneRuntime { + #[cfg(unix)] + pub(crate) fn test_enable_kitty_source_forwarding(&self) { + let mut core = self.terminal.ghostty.core.lock().unwrap(); + core.terminal.enable_kitty_graphics().unwrap(); + core.terminal.set_kitty_source_forwarding(true).unwrap(); + } + pub(crate) fn test_with_channel(cols: u16, rows: u16) -> (Self, mpsc::Receiver) { Self::test_with_channel_and_scrollback_bytes(cols, rows, 0, &[], 4) } -- cgit v1.2.3