aboutsummaryrefslogtreecommitdiff
path: root/src/kitty_graphics
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitty_graphics')
-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;