From 844549b35418a507d9cfd25ee0d810282bcdb924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 22 Jun 2019 04:13:54 +0200 Subject: [PATCH] Rename sb command 'scrollback' and make 'sb' an alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While this command exists in irssi and might be known by some already, 'sb' is not be the most obvious command name for newcomers. Signed-off-by: Maxime “pep” Buquet --- poezio/tabs/basetabs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 50fd1b82..feabbb1c 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -494,10 +494,11 @@ class ChatTab(Tab): usage='', shortdesc='Send the message.') self.register_command( - 'sb', + 'scrollback', self.command_scrollback, usage="end home clear status goto <+|-linecount>||", shortdesc='Scrollback to the given line number, message, or clear the buffer.') + self.commands['sb'] = self.commands['scrollback'] self.register_command( 'xhtml', self.command_xhtml,