summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-09-06 14:52:17 +0200
committermathieui <mathieui@mathieui.net>2011-09-06 14:52:17 +0200
commit229d64d355eff07a29ebb92ccbcdefac4127a168 (patch)
treeced7460a98dc8642846144f0f66420b6b77f8251 /src/windows.py
parent70c63691f87748c696b3f20d42d11fd528018bd6 (diff)
downloadpoezio-229d64d355eff07a29ebb92ccbcdefac4127a168.tar.gz
poezio-229d64d355eff07a29ebb92ccbcdefac4127a168.tar.bz2
poezio-229d64d355eff07a29ebb92ccbcdefac4127a168.tar.xz
poezio-229d64d355eff07a29ebb92ccbcdefac4127a168.zip
Fixed shell completion
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/windows.py b/src/windows.py
index d619718c..8e21d0f8 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -982,10 +982,6 @@ class Input(Win):
"""
Shell-like completion
"""
- if " " in self.text.strip() or add_after is not None:
- after = " " # don't put the "," if it's not the begining of the sentence
- else:
- after = config.get('after_completion', ',')+" "
(y, x) = self._win.getyx()
if self.text != '':
begin = self.text.split()[-1].lower()