summary refs log tree commit diff stats
path: root/code/ui.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-11-24 02:02:04 +0100
committerhut <hut@lavabit.com>2009-11-24 02:02:04 +0100
commit798d06a2317a5bb4ee38cec4d1d4f5d428d75593 (patch)
tree335fa4def2632c91acd11e4cee9aac32f9ddd15b /code/ui.py
parent556d84cd0fa94372c3fc2eb722f6925e61c42778 (diff)
downloadranger-798d06a2317a5bb4ee38cec4d1d4f5d428d75593.tar.gz
stuff
Diffstat (limited to 'code/ui.py')
-rw-r--r--code/ui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/code/ui.py b/code/ui.py
index 7d8fd828..3994d7ce 100644
--- a/code/ui.py
+++ b/code/ui.py
@@ -1,4 +1,4 @@
-import curses
+import curses, debug
 class UI():
 	def __init__(self, options):
 		self.scr = curses.initscr()
@@ -31,7 +31,9 @@ class UI():
 		import time
 		self.scr.erase()
 		for i in range(1, len(self.pwd)):
-			self.scr.addstr(i, 0, self.pwd[i])
+			f = self.pwd.files[i]
+			self.scr.addstr(i, 0, f.path)
+			if f.infostring: self.scr.addstr(i, 50, f.infostring)
 		self.scr.refresh()
 
 	def get_next_key(self):