From 5aac710d7f499dd29cab1aa8f335e9a4bf4d09f6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 26 Jul 2013 11:34:42 +0200 Subject: quit with q MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/featherweight.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/featherweight.py') 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'): -- cgit v1.2.3-70-g09d2