diff options
Diffstat (limited to 'src/kitty_graphics')
| -rw-r--r-- | src/kitty_graphics/surface.rs | 4 |
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; |
