summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-07 19:45:08 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-07 19:45:08 +0000
commit24d6894b64455ca1135a8b43ddf4ddbf94365a96 (patch)
treee45703b1e3ed4e23ddc6d24c88d490152006b4ae /src
parent190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e (diff)
downloadpoezio-24d6894b64455ca1135a8b43ddf4ddbf94365a96.tar.gz
poezio-24d6894b64455ca1135a8b43ddf4ddbf94365a96.tar.bz2
poezio-24d6894b64455ca1135a8b43ddf4ddbf94365a96.tar.xz
poezio-24d6894b64455ca1135a8b43ddf4ddbf94365a96.zip
enter in MucListTab does like 'j'
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index bacef726..f227e2fc 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -954,6 +954,8 @@ class MucListTab(Tab):
self.key_func["/"] = self.on_slash
self.key_func['j'] = self.join_selected
self.key_func['J'] = self.join_selected_no_focus
+ self.key_func['^J'] = self.join_selected
+ self.key_func['^M'] = self.join_selected
self.resize()
def refresh(self, tabs, informations, roster):
@@ -1030,7 +1032,6 @@ class MucListTab(Tab):
def get_color_state(self):
return self._color_state
-
def diffmatch(search, string):
"""
Use difflib and a loop to check if search_pattern can