+ chart();
+ if (game.options & OPTION_TTY) {
+ skip(1);
+ }
+}
+
+void prstat(const char *txt, const char *fmt, ...)
+{
+#define NSYM 14
+ int i;
+ va_list args;
+ proutn(txt);
+ if (game.options & OPTION_CURSES) {
+ skip(1);
+ } else {
+ for (i = mblen(txt, strlen(txt)); i < NSYM; i++)
+ proutn(" ");
+ }
+ if (game.options & OPTION_CURSES)
+ setwnd(status_window);
+ va_start(args, fmt);
+ vproutn(fmt, args);
+ va_end(args);
+ skip(1);
+ if (game.options & OPTION_CURSES)
+ setwnd(report_window);