Format tab completion message
This commit is contained in:
parent
3d1fdee7d5
commit
e0f52a4b02
@ -266,6 +266,10 @@ class Command_prompt(Label):
|
|||||||
# display in status bar
|
# display in status bar
|
||||||
self.app.status_bar.raw_text=""
|
self.app.status_bar.raw_text=""
|
||||||
for path in paths:
|
for path in paths:
|
||||||
self.app.status_bar.raw_text+="\""+path+"\" "
|
name=os.path.basename(path)
|
||||||
|
# add quotes if needed
|
||||||
|
if " " in name:
|
||||||
|
name="\""+name+"\""
|
||||||
|
self.app.status_bar.raw_text+=name+" "
|
||||||
self.app.status_bar.draw()
|
self.app.status_bar.draw()
|
||||||
return common_substr(paths)[end:]
|
return common_substr(paths)[end:]
|
||||||
|
Loading…
Reference in New Issue
Block a user