Jelle Besseling
4478c6a4b7
Ignore scroll command when msgstore is nil
...
Fixes ~sircmpwn/aerc2#205. Many functions do a nil check on the store,
so this changes Store() so it returns nil when msglist is nil.
It also places the Scroll() behind the nil check in the next-message command.
https://todo.sr.ht/~sircmpwn/aerc2/205
2019-08-12 08:58:57 +09:00
Jelle Besseling
507c90537c
Implement next-message in msgview using account
...
This makes sure that the next-message command accepts the same arguments
in the account view and the msgview
2019-08-07 15:10:24 +09:00
Gregory Mullen
2a0961701c
Implement basic tab completion support
...
Tab completion currently only works on commands. Contextual completion
will be added in the future.
2019-06-29 14:24:19 -04:00
Martin Hafskjold Thoresen
53df15ae06
Insert nil check before handling prev/next message
...
If these are called before the store is setup, `acct.Store()` returns
`nil`, and we SEGFAULT in `MessageStore.nextPrev`.
2019-06-18 19:39:42 -04:00
Kevin Kuehler
9746f4858c
commands/msgview: Add next/prev commands
...
Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
2019-06-11 09:34:48 -04:00
Drew DeVault
455c6f0b77
Rename :delete-message et al to :delete et al
2019-05-19 18:23:34 -04:00