summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
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))