curses: save/restore message history

Have the curses interface save and restore message history for use
by ^P.  It doesn't spit the saved messages out into the visible
message window after restore; that's too distracting.
This commit is contained in:
PatR
2019-03-29 17:03:03 -07:00
parent 14d8ed199e
commit 68542da636
5 changed files with 103 additions and 3 deletions

View File

@@ -222,6 +222,8 @@ extern void curses_init_mesg_history(void);
extern void curses_teardown_messages(void);
extern void curses_prev_mesg(void);
extern void curses_count_window(const char *count_text);
char *curses_getmsghistory(BOOLEAN_P);
void curses_putmsghistory(const char *, BOOLEAN_P);
#endif /* WINCURS_H */