diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-16 17:49:05 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-16 17:49:05 +0200 |
commit | cb8884bae405d6b0ac65329c35078e09111c1076 (patch) | |
tree | 485b7ba76b306429bfea72aff2eac8e6d8a3c611 /src | |
parent | 1a92c51ddf6c3a3064d0a3d8cf80eb97a34aad74 (diff) | |
download | poezio-cb8884bae405d6b0ac65329c35078e09111c1076.tar.gz poezio-cb8884bae405d6b0ac65329c35078e09111c1076.tar.bz2 poezio-cb8884bae405d6b0ac65329c35078e09111c1076.tar.xz poezio-cb8884bae405d6b0ac65329c35078e09111c1076.zip |
quote a completed word if it has \ in it
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py index 0abbc501..551f20af 100644 --- a/src/windows.py +++ b/src/windows.py @@ -1433,7 +1433,7 @@ class Input(Win): split_words = words[1:] words = [words[0]] for word in split_words: - if ' ' in word: + if ' ' in word or '\\' in word: words.append('"' + word + '"') else: words.append(word) |