diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-06-22 04:13:54 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-06-22 04:13:54 +0200 |
commit | 844549b35418a507d9cfd25ee0d810282bcdb924 (patch) | |
tree | 4d1a12cbc07d0871f3261df4029f01251143b529 | |
parent | 72075c9fbfa35d2ba0df556ae7297a67b0fe9072 (diff) | |
download | poezio-844549b35418a507d9cfd25ee0d810282bcdb924.tar.gz poezio-844549b35418a507d9cfd25ee0d810282bcdb924.tar.bz2 poezio-844549b35418a507d9cfd25ee0d810282bcdb924.tar.xz poezio-844549b35418a507d9cfd25ee0d810282bcdb924.zip |
Rename sb command 'scrollback' and make 'sb' an alias
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 <pep@bouah.net>
-rw-r--r-- | poezio/tabs/basetabs.py | 3 |
1 files changed, 2 insertions, 1 deletions
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='<message>', shortdesc='Send the message.') self.register_command( - 'sb', + 'scrollback', self.command_scrollback, usage="end home clear status goto <+|-linecount>|<linenum>|<timestamp>", 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, |