aboutsummaryrefslogtreecommitdiff
path: root/src/kitty_graphics/surface.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-06 02:27:06 +0300
committerGitHub <noreply@github.com>2026-09-06 02:27:06 +0300
commit9e9bc8a144667a6b7debfd4f0c7a31ff0e11493a (patch)
tree03f1259f91fd9edeacfd4b904f2e84d4acf25232 /src/kitty_graphics/surface.rs
parent35b0dff96579f099e0436290085024424ffb289c (diff)
feat: manage multiple ssh machines from one client (#3670)
Diffstat (limited to 'src/kitty_graphics/surface.rs')
-rw-r--r--src/kitty_graphics/surface.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kitty_graphics/surface.rs b/src/kitty_graphics/surface.rs
index bf2482b6..e5f00ac2 100644
--- a/src/kitty_graphics/surface.rs
+++ b/src/kitty_graphics/surface.rs
@@ -50,6 +50,10 @@ pub(crate) struct ClientState {
}
impl ClientState {
+ pub(crate) fn scope(&self) -> &str {
+ &self.scope
+ }
+
pub(crate) fn set_scope(&mut self, scope: &str) {
if self.scope == scope {
return;