MCPcopy Create free account
hub / github.com/Entware/Entware / do_scroll

Function do_scroll

scripts/config/lxdialog/menubox.c:150–158  ·  view source on GitHub ↗

scroll up n lines (n may be negative) */

Source from the content-addressed store, hash-verified

148
149/* scroll up n lines (n may be negative) */
150static void do_scroll(WINDOW *win, int *scroll, int n)
151{
152 /* Scroll menu up */
153 scrollok(win, TRUE);
154 wscrl(win, n);
155 scrollok(win, FALSE);
156 *scroll = *scroll + n;
157 wrefresh(win);
158}
159
160/*
161 * Display a menu for choosing among a number of options

Callers 1

dialog_menuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected