wclrtoeo.c
来自「一个c语言写做的编译器的源码」· C语言 代码 · 共 18 行
C
18 行
/*@A (C) 1992 Allen I. Holub */
#include "cur.h"
void wclrtoeol( win )
WINDOW *win;
{
/* Clear from cursor to end of line, the cursor isn't moved. The main
* reason that this is included here is because you have to call it after
* printing every newline in order to compensate for a bug in the real
* curses. This bug has been corrected in my curses, so you don't have to
* use this routine if you're not interested in portability.
*/
clr_region( win->x_org + win->col , win->x_org + (win->x_size - 1),
win->y_org + win->row , win->y_org + win->row,
win->attrib );
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?