putmsghistory() (trunk only)
[Third of three message history patches.]
Add another argument to putmsghistory() so that it can tell whether
it's processing multiple messages for restore (which should be treated as
being older than any current messages) or a single message to stuff into
history (which should be treated as the most recent message even though
it hasn't been displayed in the message window).
This commit is contained in:
@@ -2572,7 +2572,7 @@ E void FDECL(choose_windows, (const char *));
|
||||
E char FDECL(genl_message_menu, (CHAR_P,int,const char *));
|
||||
E void FDECL(genl_preference_update, (const char *));
|
||||
E char *FDECL(genl_getmsghistory, (BOOLEAN_P));
|
||||
E void FDECL(genl_putmsghistory, (const char *));
|
||||
E void FDECL(genl_putmsghistory, (const char *,BOOLEAN_P));
|
||||
#ifdef HANGUPHANDLING
|
||||
E void NDECL(nhwindows_hangup);
|
||||
#endif
|
||||
|
||||
@@ -69,7 +69,7 @@ struct window_procs {
|
||||
void FDECL((*win_outrip), (winid,int));
|
||||
void FDECL((*win_preference_update), (const char *));
|
||||
char * FDECL((*win_getmsghistory), (BOOLEAN_P));
|
||||
void FDECL((*win_putmsghistory), (const char *));
|
||||
void FDECL((*win_putmsghistory), (const char *,BOOLEAN_P));
|
||||
#ifdef STATUS_VIA_WINDOWPORT
|
||||
void NDECL((*win_status_init));
|
||||
void NDECL((*win_status_finish));
|
||||
|
||||
@@ -229,7 +229,7 @@ E void NDECL(tty_end_screen);
|
||||
E void FDECL(genl_outrip, (winid,int));
|
||||
|
||||
E char *FDECL(tty_getmsghistory, (BOOLEAN_P));
|
||||
E void FDECL(tty_putmsghistory, (const char *));
|
||||
E void FDECL(tty_putmsghistory, (const char *,BOOLEAN_P));
|
||||
|
||||
|
||||
#ifdef NO_TERMS
|
||||
|
||||
Reference in New Issue
Block a user