cwd in the title

This commit is contained in:
q
2013-01-08 14:01:08 +02:00
parent 3ff76bf95a
commit 1a7fc1a18c

View File

@@ -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