diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-24 20:59:48 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-24 20:59:48 +0300 |
| commit | c411883ec639c9893ed9c33021c890485e91727b (patch) | |
| tree | 797bb6efdb3a9425e3d8c31953f62452bd564cb1 /src/pane.rs | |
| parent | 11a7ab4ae21ab9427bcb44b3be01f62a4ab58c47 (diff) | |
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 <jonathan.liebig@gmail.com>
Diffstat (limited to 'src/pane.rs')
| -rw-r--r-- | src/pane.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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<Bytes>) { Self::test_with_channel_and_scrollback_bytes(cols, rows, 0, &[], 4) } |
