diff options
-rw-r--r-- | alot/defaults/alot.rc.spec | 3 | ||||
-rw-r--r-- | alot/ui.py | 2 | ||||
-rw-r--r-- | docs/source/configuration/alotrc_table | 10 |
3 files changed, 14 insertions, 1 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec index d99a96e8..d2ee450f 100644 --- a/alot/defaults/alot.rc.spec +++ b/alot/defaults/alot.rc.spec @@ -35,6 +35,9 @@ themes_dir = string(default=None) # name of the theme to use theme = string(default=None) +# enable mouse support - mouse tracking will be handled by urwid +handle_mouse = boolean(default=True) + # headers that get displayed by default displayed_headers = force_list(default=list(From,To,Cc,Bcc,Subject)) @@ -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) diff --git a/docs/source/configuration/alotrc_table b/docs/source/configuration/alotrc_table index ff38eba4..9e27b206 100644 --- a/docs/source/configuration/alotrc_table +++ b/docs/source/configuration/alotrc_table @@ -289,6 +289,16 @@ :default: "Fwd: " +.. _handle-mouse: + +.. describe:: handle_mouse + + enable mouse support - mouse tracking will be handled by urwid + + :type: boolean + :default: True + + .. _history-size: .. describe:: history_size |