mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-17 02:30:10 +00:00
Conditionally compile out reverse mode keys. Dangerous atm.
This commit is contained in:
parent
6fa7af0931
commit
3aab6c2df5
@ -4,6 +4,9 @@
|
|||||||
// Bobbi June, July 2020
|
// Bobbi June, July 2020
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// - TODO: BUG - there is a bug that causes messages to get duplicated
|
||||||
|
// at top and bottom of mailbox. write_updated_headers()
|
||||||
|
// does not take account of the new reverse function.
|
||||||
// - TODO: See TODOs further down for error handling
|
// - TODO: See TODOs further down for error handling
|
||||||
// - TODO: Editor for email composition functions
|
// - TODO: Editor for email composition functions
|
||||||
|
|
||||||
@ -1608,6 +1611,7 @@ void keyboard_hdlr(void) {
|
|||||||
h = get_headers(selection);
|
h = get_headers(selection);
|
||||||
copy_to_mailbox(h, first_msg + selection - 1, "OUTBOX", 0, 'F');
|
copy_to_mailbox(h, first_msg + selection - 1, "OUTBOX", 0, 'F');
|
||||||
break;
|
break;
|
||||||
|
#if 0
|
||||||
case ',':
|
case ',':
|
||||||
case '<':
|
case '<':
|
||||||
reverse = 1;
|
reverse = 1;
|
||||||
@ -1618,6 +1622,7 @@ void keyboard_hdlr(void) {
|
|||||||
reverse = 0;
|
reverse = 0;
|
||||||
switch_mailbox(curr_mbox);
|
switch_mailbox(curr_mbox);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 'q':
|
case 'q':
|
||||||
case 'Q':
|
case 'Q':
|
||||||
if (prompt_okay("Quit - ")) {
|
if (prompt_okay("Quit - ")) {
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
// Bobbi June 2020
|
// Bobbi June 2020
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// TODO: Email rebuild mode to recreate mailbox given a directory of messages
|
||||||
|
|
||||||
#include <cc65.h>
|
#include <cc65.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user