leaveok.3cur

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 39 行

3CUR
39
字号
.TH leaveok 3cur .SH Nameleaveok \- enable non-tracking cursor.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint leaveok(win, bf).br.BWINDOW \(**win;.br.Bbool bf;.SH Description.NXR "leaveok subroutine"This option allows the cursor to be left wherever the update happens to leave it.Normally, the cursor is left at the current location (y, x) of the window being refreshed.This routine is useful for applications where the cursor is not used, since it reduces the need for cursor motions.If possible, the cursor is made invisible when this option is enabled..PPThis option is initially disabled, and is not enabled until the value of .PN bfis changed from .PN FALSEto.PN TRUE ..SH Return ValuesThe .PN leaveokfunction returns OK on success and ERR on error.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?