diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-07-26 11:34:42 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-07-26 11:34:42 +0200 |
| commit | 5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6 (patch) | |
| tree | 4459b3754d4397210399a410f662800a3a77bc1b /src/featherweight.py | |
| parent | collapsing affect walking (diff) | |
| download | pytagomacs-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-x | src/featherweight.py | 2 |
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'): |
