diff options
Diffstat (limited to 'alot/commands/bufferlist.py')
-rw-r--r-- | alot/commands/bufferlist.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/commands/bufferlist.py b/alot/commands/bufferlist.py index 4466865b..ed5f9cc5 100644 --- a/alot/commands/bufferlist.py +++ b/alot/commands/bufferlist.py @@ -3,15 +3,17 @@ from alot.commands import Command, registerCommand MODE = 'bufferlist' -@registerCommand(MODE, 'select', help='focus selected buffer') +@registerCommand(MODE, 'select') class BufferFocusCommand(Command): + """focus selected buffer""" def apply(self, ui): selected = ui.current_buffer.get_selected_buffer() ui.buffer_focus(selected) -@registerCommand(MODE, 'close', help='close focussed buffer') +@registerCommand(MODE, 'close') class BufferCloseCommand(Command): + """close focussed buffer""" def apply(self, ui): bufferlist = ui.current_buffer selected = bufferlist.get_selected_buffer() |