revise curses_raw_print()
For curses, behave like tty by keeping a count of messages issued via raw_print, then if that is non-zero issue a prompt and require the player to acknowledge them before it erases the screen. Mainly so that complaints during RC file processing will be seen. For tty, force getret() to be an unconditional routine instead of sometimes a routine, sometimes a macro which calls another routine.
This commit is contained in:
@@ -206,6 +206,8 @@ void
|
||||
def_raw_print(const char *s)
|
||||
{
|
||||
puts(s);
|
||||
if (*s)
|
||||
iflags.raw_printed++;
|
||||
}
|
||||
|
||||
staticfn
|
||||
|
||||
Reference in New Issue
Block a user