summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-15 20:49:54 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-15 20:49:54 +0100
commitadf5a977a970fff1e3b42655ade0c3f61c3a8958 (patch)
treebeabfa8fcac607da10c4b2470033bdee8f8d008e /src/windows.py
parentb707696b466087f59243a8fc5de18cc71761221a (diff)
downloadpoezio-adf5a977a970fff1e3b42655ade0c3f61c3a8958.tar.gz
poezio-adf5a977a970fff1e3b42655ade0c3f61c3a8958.tar.bz2
poezio-adf5a977a970fff1e3b42655ade0c3f61c3a8958.tar.xz
poezio-adf5a977a970fff1e3b42655ade0c3f61c3a8958.zip
Remove ^J from the shortcuts triggering the Enter event, because
we’ll use it to add a (real) \n into the input’s text. Also remove "\n" because it’s useless
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 1a59f260..45a6d22b 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1118,9 +1118,7 @@ class CommandInput(Input):
self.on_success = on_success
self.on_input = on_input
self.help_message = help_message
- self.key_func['^J'] = self.success
self.key_func['^M'] = self.success
- self.key_func['\n'] = self.success
self.key_func['^G'] = self.abort
self.key_func['^C'] = self.abort