From 9e9bc8a144667a6b7debfd4f0c7a31ff0e11493a Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 6 Sep 2026 02:27:06 +0300 Subject: feat: manage multiple ssh machines from one client (#3670) --- src/pane/terminal.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/pane') diff --git a/src/pane/terminal.rs b/src/pane/terminal.rs index a804a7fb..1dc5a88d 100644 --- a/src/pane/terminal.rs +++ b/src/pane/terminal.rs @@ -538,6 +538,10 @@ impl PaneTerminal { self.ghostty.visible_hyperlinks(area) } + pub(crate) fn kitty_graphics_may_have_placements(&self) -> bool { + self.ghostty.kitty_graphics_may_have_placements() + } + pub fn kitty_image_placements_with_data_filter( &self, needs_data: F, @@ -2190,6 +2194,14 @@ impl GhosttyPaneTerminal { .unwrap_or_default() } + pub(crate) fn kitty_graphics_may_have_placements(&self) -> bool { + self.core + .lock() + .ok() + .and_then(|core| core.terminal.kitty_graphics_may_have_placements().ok()) + .unwrap_or(true) + } + pub fn kitty_image_placements_with_data_filter( &self, needs_data: F, -- cgit v1.2.3