| 900 | } |
| 901 | |
| 902 | int 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 *,...) {} |
| 929 | int wscrl(WINDOW *win, int n) |
| 930 | { |
no test coverage detected