Support the Curses-only configuration
This commit is contained in:
@@ -271,7 +271,9 @@ msexit(void)
|
||||
restore_colors();
|
||||
#endif
|
||||
wait_synch();
|
||||
#if !(defined(MSDOS) && !defined(TTY_GRAPHICS))
|
||||
term_curs_set(1);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
#endif /* MICRO || OS2 */
|
||||
|
||||
@@ -38,7 +38,9 @@ settty(const char *s)
|
||||
#if defined(MSDOS) && defined(NO_TERMS)
|
||||
gr_finish();
|
||||
#endif
|
||||
#if !(defined(MSDOS) && !defined(TTY_GRAPHICS))
|
||||
term_end_screen();
|
||||
#endif
|
||||
if (s)
|
||||
raw_print(s);
|
||||
#if !defined(TOS)
|
||||
@@ -50,7 +52,9 @@ settty(const char *s)
|
||||
void
|
||||
setftty(void)
|
||||
{
|
||||
#if !(defined(MSDOS) && !defined(TTY_GRAPHICS))
|
||||
term_start_screen();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef ENHANCED_SYMBOLS
|
||||
@@ -83,8 +87,10 @@ VA_DECL(const char *, s)
|
||||
VA_START(s);
|
||||
VA_INIT(s, const char *);
|
||||
/* error() may get called before tty is initialized */
|
||||
#if !(defined(MSDOS) && !defined(TTY_GRAPHICS))
|
||||
if (iflags.window_inited)
|
||||
term_end_screen();
|
||||
#endif
|
||||
putchar('\n');
|
||||
Vprintf(s, VA_ARGS);
|
||||
putchar('\n');
|
||||
|
||||
Reference in New Issue
Block a user