mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-04-07 21:37:06 +00:00
email.c: Reload mailbox after P)urge command
This commit is contained in:
parent
87d4b8e94f
commit
b586c108fe
@ -5,10 +5,9 @@
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
// TODO:
|
||||
// - BUG: If messages are deleted, selection can be left on an empty line.
|
||||
// Move it to top after P)urge.
|
||||
// - Update To/From if reply or forward
|
||||
// - Fix terrible scrollback algorithm!!
|
||||
// - Add MIME support? Quoted printable and Base64?
|
||||
// - Editor for email composition functions
|
||||
|
||||
#include <stdio.h>
|
||||
@ -1159,8 +1158,10 @@ void keyboard_hdlr(void) {
|
||||
break;
|
||||
case 'p':
|
||||
case 'P':
|
||||
if (prompt_okay("Purge - "))
|
||||
if (prompt_okay("Purge - ")) {
|
||||
purge_deleted();
|
||||
switch_mailbox(curr_mbox);
|
||||
}
|
||||
break;
|
||||
case 'n':
|
||||
case 'N':
|
||||
|
Loading…
x
Reference in New Issue
Block a user