enter in MucListTab does like 'j'

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-12-07 19:45:08 +00:00
parent 190fc0a1f7
commit 24d6894b64

View file

@ -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