Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 1a66965..922b347 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -501,6 +501,8 @@ def key_press(tw, alt_mask, keyname, verbose=False):
tw.activity._send_event("i") # request sync for sharing
elif keyname=="p":
hideshow_button(tw)
+ elif keyname=='q':
+ exit()
return True
if tw.selected_block==None:
return False