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