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:
@@ -277,7 +277,7 @@ extern void vga_update_positionbar(char *);
|
||||
extern void vga_HideCursor(void);
|
||||
#endif
|
||||
extern void vga_Init(void);
|
||||
extern void vga_tty_end_screen(void);
|
||||
extern void vga_term_end_screen(void);
|
||||
extern void vga_term_startup(int *, int *);
|
||||
extern void vga_xputs(const char *, int, int);
|
||||
extern void vga_xputc(char, int);
|
||||
@@ -308,7 +308,7 @@ extern void vesa_update_positionbar(char *);
|
||||
extern void vesa_HideCursor(void);
|
||||
#endif
|
||||
extern void vesa_Init(void);
|
||||
extern void vesa_tty_end_screen(void);
|
||||
extern void vesa_term_end_screen(void);
|
||||
extern void vesa_term_startup(int *, int *);
|
||||
extern void vesa_xputs(const char *, int, int);
|
||||
extern void vesa_xputc(char, int);
|
||||
|
||||
@@ -471,7 +471,7 @@ tty_delay_output(void)
|
||||
}
|
||||
|
||||
void
|
||||
tty_end_screen(void)
|
||||
term_end_screen(void)
|
||||
{
|
||||
if (!iflags.grmode) {
|
||||
txt_clear_screen();
|
||||
@@ -480,11 +480,11 @@ tty_end_screen(void)
|
||||
#endif
|
||||
#ifdef SCREEN_VGA
|
||||
} else if (iflags.usevga) {
|
||||
vga_tty_end_screen();
|
||||
vga_term_end_screen();
|
||||
#endif
|
||||
#ifdef SCREEN_VESA
|
||||
} else if (iflags.usevesa) {
|
||||
vesa_tty_end_screen();
|
||||
vesa_term_end_screen();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -546,7 +546,7 @@ term_startup(int *wid, int *hgt)
|
||||
}
|
||||
|
||||
void
|
||||
tty_start_screen(void)
|
||||
term_start_screen(void)
|
||||
{
|
||||
#ifdef PC9800
|
||||
fputs("\033[>1h", stdout);
|
||||
|
||||
@@ -596,7 +596,7 @@ vesa_cl_eos(int cy)
|
||||
}
|
||||
|
||||
void
|
||||
vesa_tty_end_screen(void)
|
||||
vesa_term_end_screen(void)
|
||||
{
|
||||
vesa_clear_screen(BACKGROUND_VESA_COLOR);
|
||||
vesa_SwitchMode(MODETEXT);
|
||||
|
||||
@@ -290,7 +290,7 @@ void vga_cl_eos(int cy)
|
||||
}
|
||||
|
||||
void
|
||||
vga_tty_end_screen(void)
|
||||
vga_term_end_screen(void)
|
||||
{
|
||||
vga_clear_screen(BACKGROUND_VGA_COLOR);
|
||||
vga_SwitchMode(MODETEXT);
|
||||
|
||||
Reference in New Issue
Block a user