diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-06 02:27:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-06 02:27:06 +0300 |
| commit | 9e9bc8a144667a6b7debfd4f0c7a31ff0e11493a (patch) | |
| tree | 03f1259f91fd9edeacfd4b904f2e84d4acf25232 /src/pane | |
| parent | 35b0dff96579f099e0436290085024424ffb289c (diff) | |
feat: manage multiple ssh machines from one client (#3670)
Diffstat (limited to 'src/pane')
| -rw-r--r-- | src/pane/terminal.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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<F>( &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<F>( &self, needs_data: F, |
