MCPcopy Create free account
hub / github.com/coreboot/coreboot / wrefresh

Function wrefresh

payloads/libpayload/curses/tinycurses.c:902–927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900}
901
902int wrefresh(WINDOW *win)
903{
904 // FIXME
905 return wnoutrefresh(win);
906
907 // XXX
908 int code;
909
910 if (win == curscr) {
911 curscr->_clear = TRUE;
912 // code = doupdate();
913 } else if ((code = wnoutrefresh(win)) == OK) {
914 if (win->_clear)
915 newscr->_clear = TRUE;
916 // code = doupdate();
917 /*
918 * Reset the clearok() flag in case it was set for the special
919 * case in hardscroll.c (if we don't reset it here, we'll get 2
920 * refreshes because the flag is copied from stdscr to newscr).
921 * Resetting the flag shouldn't do any harm, anyway.
922 */
923 win->_clear = FALSE;
924 }
925
926 return code;
927}
928// int wscanw (WINDOW *, NCURSES_CONST char *,...) {}
929int wscrl(WINDOW *win, int n)
930{

Callers 15

redraw_moduleFunction · 0.50
loopFunction · 0.50
render_formFunction · 0.50
show_scroll_win_extFunction · 0.50
print_buttonsFunction · 0.50
dialog_yesnoFunction · 0.50
refresh_text_boxFunction · 0.50
print_itemFunction · 0.50
print_buttonsFunction · 0.50
dialog_checklistFunction · 0.50
do_print_itemFunction · 0.50
print_arrowsFunction · 0.50

Calls 1

wnoutrefreshFunction · 0.70

Tested by

no test coverage detected