quote a completed word if it has \ in it
This commit is contained in:
parent
1a92c51ddf
commit
cb8884bae4
1 changed files with 1 additions and 1 deletions
|
@ -1433,7 +1433,7 @@ class Input(Win):
|
||||||
split_words = words[1:]
|
split_words = words[1:]
|
||||||
words = [words[0]]
|
words = [words[0]]
|
||||||
for word in split_words:
|
for word in split_words:
|
||||||
if ' ' in word:
|
if ' ' in word or '\\' in word:
|
||||||
words.append('"' + word + '"')
|
words.append('"' + word + '"')
|
||||||
else:
|
else:
|
||||||
words.append(word)
|
words.append(word)
|
||||||
|
|
Loading…
Reference in a new issue