|
|
1.1 root 1: # include "curses.ext"
2:
3: /*
4: * This routine moves the cursor to the given point
5: */
6: wmove(win, y, x)
7: reg WINDOW *win;
8: reg int y, x; {
9:
10: # ifdef DEBUG
11: fprintf(outf, "MOVE to (%d, %d)\n", y, x);
12: # endif
13: if (x >= win->_maxx || y >= win->_maxy)
14: return ERR;
15: win->_curx = x;
16: win->_cury = y;
17: return OK;
18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.