Fix completion of paths with spaces
This commit is contained in:
parent
b45161ecc3
commit
b3db3e5732
@ -225,6 +225,7 @@ def complete_remote_command(ans, cmd_name, words, new_word):
|
||||
|
||||
|
||||
def path_completion(prefix=''):
|
||||
prefix = prefix.replace(r'\ ', ' ')
|
||||
dirs, files = [], []
|
||||
base = '.'
|
||||
if prefix.endswith('/'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user