move.c
来自「操作系统源代码」· C语言 代码 · 共 19 行
C
19 行
#include <curses.h>#include "curspriv.h"/****************************************************************//* Wmove() moves the cursor in window 'win' to position (x,y). *//****************************************************************/int wmove(win, y, x)WINDOW *win;int y;int x;{ if ((x<0) || (x>win->_maxx) || (y<win->_regtop) || (y>win->_regbottom)) return(ERR); win->_curx = x; win->_cury = y; return(OK);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?