When I implemented getmsghistory()/putmsghistory() for curses I was assuming that DUMPLOG would only be used with tty, but it is interface neutral and can be used with curses (or others). So curses message history needs to behave like tty message history and be sure to pass along messages that bypass pline() and the normal message window. (Mainly one-line summaries of long quest messages, but also old messages fetched from a save file and available to be re-saved without having been shown if new session doesn't generate enough new messages to flush them.)
14 KiB
14 KiB