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:
+3
-4
@@ -148,8 +148,7 @@ struct window_procs tty_procs = {
|
||||
tty_get_color_string,
|
||||
#endif
|
||||
|
||||
/* other defs that really should go away (they're tty specific) */
|
||||
tty_start_screen, tty_end_screen, genl_outrip,
|
||||
genl_outrip,
|
||||
tty_preference_update,
|
||||
tty_getmsghistory, tty_putmsghistory,
|
||||
tty_status_init,
|
||||
@@ -530,7 +529,7 @@ tty_init_nhwindows(int *argcp UNUSED, char **argv UNUSED)
|
||||
|
||||
/* to port dependant tty setup */
|
||||
term_startup(&wid, &hgt);
|
||||
setftty(); /* calls start_screen */
|
||||
setftty(); /* calls term_start_screen */
|
||||
term_curs_set(0);
|
||||
|
||||
/* set up tty descriptor */
|
||||
@@ -793,7 +792,7 @@ void
|
||||
tty_resume_nhwindows(void)
|
||||
{
|
||||
gettty();
|
||||
setftty(); /* calls start_screen */
|
||||
setftty(); /* calls term_start_screen */
|
||||
term_curs_set(0);
|
||||
docrt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user