summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-12 02:32:50 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-02-12 02:32:50 +0000
commit66ea0ea1c15c6c3ef869d255dc7da11674570b62 (patch)
tree725b418bbc38d66d2d7a71bfd83a3ad9973b938f /src/gui.py
parentfa58dce0f83c8157594300215c15a6253f46844b (diff)
downloadpoezio-66ea0ea1c15c6c3ef869d255dc7da11674570b62.tar.gz
poezio-66ea0ea1c15c6c3ef869d255dc7da11674570b62.tar.bz2
poezio-66ea0ea1c15c6c3ef869d255dc7da11674570b62.tar.xz
poezio-66ea0ea1c15c6c3ef869d255dc7da11674570b62.zip
fixed #1112
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.py b/src/gui.py
index d5cb33de..9a2093dc 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -201,6 +201,7 @@ class Gui(object):
"KEY_F(6)": self.rotate_rooms_right,
"kLFT5": self.rotate_rooms_left,
"kRIT5": self.rotate_rooms_right,
+ "\t": self.auto_completion,
"KEY_BACKSPACE": self.window.input.key_backspace
}
@@ -301,6 +302,9 @@ class Gui(object):
self.window.new_room(r)
self.window.refresh(self.rooms)
+ def auto_completion(self):
+ self.window.input.auto_completion(self.current_room().users)
+
def rotate_rooms_right(self, args=None):
self.current_room().set_color_state(11)
self.rooms.append(self.rooms.pop(0))