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:
PatR
2024-05-17 14:38:17 -07:00
parent 80fb8c77d3
commit d5546d3384
5 changed files with 44 additions and 17 deletions

View File

@@ -206,6 +206,8 @@ void
def_raw_print(const char *s)
{
puts(s);
if (*s)
iflags.raw_printed++;
}
staticfn