clear.3cur
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 63 行
3CUR
63 行
.TH clear 3cur .SH Nameclear, wclear \- clear window.SH Syntax.PP.B#include <cursesX.h>.PP.br.Bint clear(\|).PP.br.Bint wclear(win).br.BWINDOW \(**win;.SH Description.NXR "clear macro".NXR "wclear subroutine"The.PN clearroutine resets the entire defaultwindow to blanks and sets the current .br(y, x) coordinates to (0, 0)..PPThe routine .PN wclearresets the entire specifiedwindow to blanks and sets the current (y, x) coordinates to (0, 0)..PPThe.PN clearroutineassumes that the screen may have garbage on it that it doesn't knowabout. The routine first calls.PN erase which copies blanks to every position in the default window,and then.PN clearok ,which clears the physical screen completely on the next callto.PN refresh for .PN stdscr ..PPThe routine .PN clearis a macro..SH Return ValuesThe.PN clearand.PN wclearfunctions return OK on success and ERR on error..SH See Alsoclearok(3cur), erase(3cur), refresh(3cur)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?