diff options
author | Jody Foo <jody.foo@gmail.com> | 2017-01-13 21:28:50 +0100 |
---|---|---|
committer | Jody Foo <jody.foo@gmail.com> | 2017-01-13 21:28:50 +0100 |
commit | a71499a910adebcc85bb7c96ea817456bcd81718 (patch) | |
tree | ba64c17778c0d2bc819025caccb3275d368b8dc2 /alot/ui.py | |
parent | 4645c4b2eb2b3aa93305f0c10fd3567cfeeb41c7 (diff) |
Add a setting for enabling or disabling mouse support.
Mouse support is enabled by default. To disable mouse support, set
```
handle_mouse = False
```
in your config file.
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ class UI(object): # set up main loop self.mainloop = urwid.MainLoop(self.root_widget, - handle_mouse=True, + handle_mouse=settings.get('handle_mouse'), event_loop=urwid.TwistedEventLoop(), unhandled_input=self._unhandeled_input, input_filter=self._input_filter) |