aboutsummaryrefslogtreecommitdiffstats
path: root/src/featherweight.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/featherweight.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/featherweight.py b/src/featherweight.py
index c153797..d5e1d47 100755
--- a/src/featherweight.py
+++ b/src/featherweight.py
@@ -51,8 +51,17 @@ with touch('%s/feeds' % root) as feeds_flock:
print('\033[?1049h\033[?25l', end = '')
try:
- Tree('My Feeds', feeds).interact()
-
+ tree = Tree('My Feeds', feeds)
+ while True:
+ (action, node) = tree.interact()
+ if action == 'quit':
+ break
+ elif action == 'edit':
+ if node is not None:
+ pass
+ elif action == 'open':
+ pass
+
except:
pass
finally: