diff options
author | David Moreau Simard <dmsimard@redhat.com> | 2018-03-26 14:18:36 -0400 |
---|---|---|
committer | James E. Blair <corvus@gnu.org> | 2018-03-30 14:29:37 -0700 |
commit | 2716b255d8be39d2dca4b681d7724ee2a20f3244 (patch) | |
tree | 51229e0e09b0b315b2b79fd39fc35a60329f9495 | |
parent | 51d64be68d8d8b75ff374f207a5bc153f787769e (diff) |
This otherwise prevents a user from using a mouse to do things like
text selection.
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Co-Authored-By: David Moreau-Simard <dmsimard@redhat.com>
-rw-r--r-- | presentty/presentty.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): | |||
36 | self.palette = palette | 36 | self.palette = palette |
37 | self.pos = -1 | 37 | self.pos = -1 |
38 | self.loop = urwid.MainLoop(self.blank, | 38 | self.loop = urwid.MainLoop(self.blank, |
39 | unhandled_input=self.unhandledInput) | 39 | unhandled_input=self.unhandledInput, |
40 | handle_mouse=False) | ||
40 | self.loop.screen.set_terminal_properties(colors=256) | 41 | self.loop.screen.set_terminal_properties(colors=256) |
41 | 42 | ||
42 | self.server_pipe_in = self.loop.watch_pipe(self.serverData) | 43 | self.server_pipe_in = self.loop.watch_pipe(self.serverData) |