window-port updates

Remove start_screen() and end_screen() from the
Window-port interface.

They were only ever used by tty, and there was a comment
carried to several window-ports about how they "really
should go away. They are tty-specific"

term_start_screen() and term_end_screen() are part of
terminal/NO_TERMS supporting routines now.
This commit is contained in:
nhmall
2025-01-04 23:38:34 -05:00
parent 63dfb84d00
commit be5143bb74
42 changed files with 59 additions and 334 deletions

View File

@@ -119,8 +119,7 @@ struct window_procs mswin_procs = {
#ifdef CHANGE_COLOR /* only a Mac option currently */
mswin_change_color, mswin_get_color_string,
#endif
/* other defs that really should go away (they're tty specific) */
mswin_start_screen, mswin_end_screen, mswin_outrip,
mswin_outrip,
mswin_preference_update, mswin_getmsghistory, mswin_putmsghistory,
mswin_status_init, mswin_status_finish, mswin_status_enablefield,
mswin_status_update,
@@ -1924,31 +1923,6 @@ mswin_get_color_string(void)
return (char *) "";
}
/*
start_screen() -- Only used on Unix tty ports, but must be declared for
completeness. Sets up the tty to work in full-screen
graphics mode. Look at win/tty/termcap.c for an
example. If your window-port does not need this function
just declare an empty function.
*/
void
mswin_start_screen(void)
{
/* Do Nothing */
logDebug("mswin_start_screen()\n");
}
/*
end_screen() -- Only used on Unix tty ports, but must be declared for
completeness. The complement of start_screen().
*/
void
mswin_end_screen(void)
{
/* Do Nothing */
logDebug("mswin_end_screen()\n");
}
/*
outrip(winid, int, when)
-- The tombstone code. If you want the traditional code use

View File

@@ -188,8 +188,6 @@ void mswin_number_pad(int state);
void mswin_delay_output(void);
void mswin_change_color(int color, long rgb, int reverse);
char *mswin_get_color_string(void);
void mswin_start_screen(void);
void mswin_end_screen(void);
void mswin_outrip(winid wid, int how, time_t when);
void mswin_preference_update(const char *pref);
char *mswin_getmsghistory(boolean init);