MCPcopy Create free account
hub / github.com/NetHack/NetHack / curses_raw_print

Function curses_raw_print

win/curses/cursmain.c:1023–1036  ·  view source on GitHub ↗

raw_print(str) -- Print directly to a screen, or otherwise guarantee that the user sees str. raw_print() appends a newline to str. It need not recognize ASCII control characters. This is used during startup (before windowing system initialization -- maybe this means only error startup messages are raw),

Source from the content-addressed store, hash-verified

1021 updating status for micros (i.e, "saving").
1022*/
1023void
1024curses_raw_print(const char *str)
1025{
1026#ifdef PDCURSES
1027 /* WINDOW *win = curses_get_nhwin(MESSAGE_WIN); */
1028
1029 if (iflags.window_inited) {
1030 curses_message_win_puts(str, FALSE);
1031 return;
1032 }
1033#endif
1034 puts(str);
1035 iflags.raw_printed++;
1036}
1037
1038/*
1039raw_print_bold(str)

Callers 1

curses_raw_print_boldFunction · 0.85

Calls 2

curses_message_win_putsFunction · 0.85
putsFunction · 0.85

Tested by

no test coverage detected