|
|
1.1 root 1: # include "curses.ext"
2:
3: /*
4: * make it look like the whole window has been changed.
5: */
6: touchwin(win)
7: reg WINDOW *win;
8: {
9: reg int y, maxy, maxx;
10:
11: maxy = win->_maxy;
12: maxx = win->_maxx - 1;
13: for (y = 0; y < maxy; y++) {
14: win->_firstch[y] = 0;
15: win->_lastch[y] = maxx;
16: }
17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.