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

Function curs_invt_updated

win/curses/cursinvt.c:122–132  ·  view source on GitHub ↗

persistent inventory has been updated or scrolled/panned; re-display it */

Source from the content-addressed store, hash-verified

120
121/* persistent inventory has been updated or scrolled/panned; re-display it */
122static void
123curs_invt_updated(WINDOW *win)
124{
125 /* display collected inventory data, probably clipped */
126 curs_show_invt(win);
127
128 if (curses_window_has_border(INV_WIN))
129 box(win, 0, 0);
130
131 wnoutrefresh(win);
132}
133
134/* scroll persistent inventory window forwards or backwards or side-to-side */
135static int

Callers 1

curs_update_invtFunction · 0.85

Calls 2

curs_show_invtFunction · 0.85
curses_window_has_borderFunction · 0.85

Tested by

no test coverage detected