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

Function mswin_doprev_message

win/win32/mswproc.c:1524–1531  ·  view source on GitHub ↗

doprev_message() -- Display previous messages. Used by the ^P command. -- On the tty-port this scrolls WIN_MESSAGE back one line. */

Source from the content-addressed store, hash-verified

1522 -- On the tty-port this scrolls WIN_MESSAGE back one line.
1523*/
1524int
1525mswin_doprev_message(void)
1526{
1527 logDebug("mswin_doprev_message()\n");
1528 SendMessage(mswin_hwnd_from_winid(WIN_MESSAGE), WM_VSCROLL,
1529 MAKEWPARAM(SB_LINEUP, 0), (LPARAM) NULL);
1530 return 0;
1531}
1532
1533/*
1534char yn_function(const char *ques, const char *choices, char default)

Callers

nothing calls this directly

Calls 2

logDebugFunction · 0.70
mswin_hwnd_from_winidFunction · 0.70

Tested by

no test coverage detected