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

Function refresh_text_box

scripts/config/lxdialog/textbox.c:133–144  ·  view source on GitHub ↗

* refresh window content */

Source from the content-addressed store, hash-verified

131 * refresh window content
132 */
133static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw,
134 int cur_y, int cur_x)
135{
136 start = page - buf;
137
138 print_page(box, boxh, boxw);
139 print_position(dialog);
140 wmove(dialog, cur_y, cur_x); /* Restore cursor position */
141 wrefresh(dialog);
142
143 end = page - buf;
144}
145
146/*
147 * Display text from a file in a dialog box.

Callers 1

dialog_textboxFunction · 0.85

Calls 2

print_pageFunction · 0.85
print_positionFunction · 0.85

Tested by

no test coverage detected