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