From 2716b255d8be39d2dca4b681d7724ee2a20f3244 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Mon, 26 Mar 2018 14:18:36 -0400 Subject: Stop handling mouse movements This otherwise prevents a user from using a mouse to do things like text selection. Co-Authored-By: Jeremy Stanley Co-Authored-By: David Moreau-Simard --- presentty/presentty.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/presentty/presentty.py b/presentty/presentty.py index d54d640..f9ca7f4 100644 --- a/presentty/presentty.py +++ b/presentty/presentty.py @@ -36,7 +36,8 @@ class Presenter(object): self.palette = palette self.pos = -1 self.loop = urwid.MainLoop(self.blank, - unhandled_input=self.unhandledInput) + unhandled_input=self.unhandledInput, + handle_mouse=False) self.loop.screen.set_terminal_properties(colors=256) self.server_pipe_in = self.loop.watch_pipe(self.serverData) -- cgit v1.2.3