From 1a7fc1a18c1576f49e1febad3c110adf4c0e6e99 Mon Sep 17 00:00:00 2001 From: q Date: Tue, 8 Jan 2013 14:01:08 +0200 Subject: [PATCH] cwd in the title --- foldermenu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foldermenu.py b/foldermenu.py index 76a3b54..0a05dea 100755 --- a/foldermenu.py +++ b/foldermenu.py @@ -218,7 +218,8 @@ class entry_collection: pars=float(pars) else: pars=float(self.options.columns) - print(self.co.END+self.co.CLR+self.co.pos(1,3)+self.co.YEL+'FolderMenu x:exit '+helptext+self.co.END) + cwd=os.path.basename(os.getcwd())[0:15] + print(self.co.END+self.co.CLR+self.co.pos(1,3)+self.co.WHI+cwd+self.co.YEL+' Menu x:exit '+helptext+self.co.END) rows=int(math.ceil(len(my_entries)/pars)) while rows > maxrows: pars+=1