aboutsummaryrefslogtreecommitdiffstats
path: root/src/featherweight.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-07-26 11:34:42 +0200
committerMattias Andrée <maandree@operamail.com>2013-07-26 11:34:42 +0200
commit5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6 (patch)
tree4459b3754d4397210399a410f662800a3a77bc1b /src/featherweight.py
parentcollapsing affect walking (diff)
downloadpytagomacs-5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6.tar.gz
pytagomacs-5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6.tar.bz2
pytagomacs-5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6.tar.xz
quit with q
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xsrc/featherweight.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/featherweight.py b/src/featherweight.py
index 177bd07..470b115 100755
--- a/src/featherweight.py
+++ b/src/featherweight.py
@@ -220,6 +220,8 @@ try:
collapsed_count += -1 if value else 1
cur['expanded'] = value
print_tree()
+ elif buf == 'q':
+ break
elif buf.endswith('\t'):
print('Tab')
elif buf.endswith('\n'):