summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index de2d3996..b106592b 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -353,6 +353,8 @@ class MucTab(ChatTab):
# keys
self.key_func['^I'] = self.completion
self.key_func['M-i'] = self.completion
+ self.key_func['M-u'] = self.scroll_user_list_down
+ self.key_func['M-y'] = self.scroll_user_list_up
# commands
self.commands['ignore'] = (self.command_ignore, _("Usage: /ignore <nickname> \nIgnore: Ignore a specified nickname."), None)
self.commands['unignore'] = (self.command_unignore, _("Usage: /unignore <nickname>\nUnignore: Remove the specified nickname from the ignore list."), None)
@@ -364,6 +366,14 @@ class MucTab(ChatTab):
self.commands['recolor'] = (self.command_recolor, _('Usage: /recolor\nRecolor: Re-assign a color to all participants of the current room, based on the last time they talked. Use this if the participants currently talking have too many identical colors.'), None)
self.resize()
+ def scroll_user_list_up(self):
+ self.user_win.scroll_up()
+ self.core.refresh_window()
+
+ def scroll_user_list_down(self):
+ self.user_win.scroll_down()
+ self.core.refresh_window()
+
def command_recolor(self, arg):
"""
Re-assign color to the participants of the room