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

@@ -80,10 +80,6 @@ struct window_procs {
char *(*win_get_color_string)(void);
#endif
/* other defs that really should go away (they're tty specific) */
void (*win_start_screen)(void);
void (*win_end_screen)(void);
void (*win_outrip)(winid, int, time_t);
void (*win_preference_update)(const char *);
char *(*win_getmsghistory)(boolean);
@@ -177,10 +173,6 @@ extern
*/
/* #define yn_function (*windowprocs.win_yn_function) */
/* other defs that really should go away (they're tty specific) */
#define start_screen (*windowprocs.win_start_screen)
#define end_screen (*windowprocs.win_end_screen)
#define outrip (*windowprocs.win_outrip)
#define preference_update (*windowprocs.win_preference_update)
#define getmsghistory (*windowprocs.win_getmsghistory)
@@ -404,10 +396,6 @@ struct chain_procs {
char *(*win_get_color_string)(CARGS);
#endif
/* other defs that really should go away (they're tty specific) */
void (*win_start_screen)(CARGS);
void (*win_end_screen)(CARGS);
void (*win_outrip)(CARGS, winid, int, time_t);
void (*win_preference_update)(CARGS, const char *);
char *(*win_getmsghistory)(CARGS, boolean);
@@ -481,8 +469,6 @@ extern short safe_set_font_name(winid, char *);
#endif
extern char *safe_get_color_string(void);
#endif
extern void safe_start_screen(void);
extern void safe_end_screen(void);
extern void safe_outrip(winid, int, time_t);
extern void safe_preference_update(const char *);
extern char *safe_getmsghistory(boolean);