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

Function mswin_raw_print_bold

win/win32/mswproc.c:1434–1445  ·  view source on GitHub ↗

raw_print_bold(str) -- Like raw_print(), but prints in bold/standout (if possible). */

Source from the content-addressed store, hash-verified

1432possible).
1433*/
1434void
1435mswin_raw_print_bold(const char *str)
1436{
1437 logDebug("mswin_raw_print_bold(%s)\n", str);
1438 if (str && *str) {
1439 extern int redirect_stdout;
1440 if (!redirect_stdout)
1441 mswin_raw_print_accumulate(str, TRUE);
1442 else
1443 fprintf(stdout, "%s", str);
1444 }
1445}
1446
1447/*
1448int nhgetch() -- Returns a single character input from the user.

Callers

nothing calls this directly

Calls 3

fprintfFunction · 0.85
logDebugFunction · 0.70

Tested by

no test coverage detected