summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-05-27 14:37:41 +0100
committerpazz <patricktotzke@gmail.com>2011-05-27 14:37:41 +0100
commit50bb8697295bb99291d936f13011bdb5ec87e95e (patch)
treebe7d09178cb9bb71442ca191b39849267b2751f2 /alot/ui.py
parent3f2c833c88ab8c7a8bce5516dcbe7661405927fe (diff)
make Buffer independent of AttrMap
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/alot/ui.py b/alot/ui.py
index cccba1c5..d599aec3 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -28,6 +28,7 @@ class UI:
self.bindings = {
'i': ('open_inbox', {}),
'u': ('open_unread', {}),
+ 'H': ('search', {'query': 'heiko'}),
'x': ('buffer_close', {}),
'tab': ('buffer_next', {}),
'shift tab': ('buffer_prev', {}),
@@ -115,8 +116,8 @@ class UI:
if isinstance(self.current_buffer,BufferListBuffer):
self.current_buffer.rebuild()
self.update()
- if self.mainloop.screen._started:
- self.mainloop.draw_screen()
+ #if self.mainloop.screen._started:
+ # self.mainloop.draw_screen()
def update(self):
"""