From cb8884bae405d6b0ac65329c35078e09111c1076 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 16 Aug 2013 17:49:05 +0200 Subject: quote a completed word if it has \ in it --- src/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3