00001 /*@A (C) 1992 Allen I. Holub */ 00002 #include "cur.h" 00003 00004 void wmove(WINDOW *win,int y,int x ) 00005 { 00006 /* Go to window-relative position. You can't go outside the window. */ 00007 00008 cmove(win, win->y_org + (win->row = min(y,win->y_size-1)) , 00009 win->x_org + (win->col = min(x,win->x_size-1)) ); 00010 }