diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-06 16:35:12 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-06 16:35:12 +0100 |
commit | 51b89da077240b44bfa71fad53052b9231b3ce6f (patch) | |
tree | fef3dd6c648675a938a4486945d897c731a1ffb4 | |
parent | 58a77b5d9f6f08b4f93ca358c9927157ab5ae653 (diff) |
more debugging feedback upon input
-rw-r--r-- | alot/ui.py | 1 | ||||
-rw-r--r-- | alot/widgets.py | 10 |
2 files changed, 6 insertions, 5 deletions
@@ -33,6 +33,7 @@ class MainWidget(urwid.Frame): self.ui = ui def keypress(self, size, key): + self.ui.logger.debug('got key: %s' % key) cmdline = config.get_mapping(self.ui.mode, key) if cmdline: cmd = interpret_commandline(cmdline, self.ui.mode) diff --git a/alot/widgets.py b/alot/widgets.py index bcba017c..ea52d684 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -442,11 +442,11 @@ class MessageBodyWidget(urwid.AttrMap): bodytxt = message.extract_body(msg) urwid.AttrMap.__init__(self, urwid.Text(bodytxt), 'message_body') - def selectable(self): - return True - - def keypress(self, size, key): - return key +# def selectable(self): +# return True +# +# def keypress(self, size, key): +# return key class AttachmentWidget(urwid.WidgetWrap): |