aboutsummaryrefslogtreecommitdiff
path: root/src/pane.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pane.rs')
-rw-r--r--src/pane.rs7
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)
}