diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-04 23:03:40 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-04 23:03:40 +0200 |
commit | 46d3da365c7691a6c8d079befeacb4b86c6ae62c (patch) | |
tree | baa19342a186cd4dcdef0ec8d3d00ca1391a6c1d | |
parent | bb3ddde9f6ffa17783c5e44cf48079b4f0ef9667 (diff) | |
download | poezio-46d3da365c7691a6c8d079befeacb4b86c6ae62c.tar.gz poezio-46d3da365c7691a6c8d079befeacb4b86c6ae62c.tar.bz2 poezio-46d3da365c7691a6c8d079befeacb4b86c6ae62c.tar.xz poezio-46d3da365c7691a6c8d079befeacb4b86c6ae62c.zip |
Fix #3114 (implement CSI in the tmux/screen plugin)
-rw-r--r-- | plugins/screen_detach.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/screen_detach.py b/plugins/screen_detach.py index 2b42d01a..50519871 100644 --- a/plugins/screen_detach.py +++ b/plugins/screen_detach.py @@ -93,6 +93,10 @@ class Plugin(BasePlugin, pyinotify.Notifier): self.attached = attached status = 'available' if self.attached else 'away' self.core.command_status(status) + if self.attached: + self.core.xmpp.plugin['xep_0352'].send_active() + else: + self.core.xmpp.plugin['xep_0352'].send_inactive() class HandleScreen(pyinotify.ProcessEvent): def my_init(self, **kwargs): |