typeahead.3cur

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

3CUR
50
字号
.TH typeahead 3cur .SH Nametypeahead \- check for typeahead.SH Syntax.br.Bint typeahead(fd).br.Bint fd;.SH Description.NXR "typeahead subroutine"If.PN typeahead is enabled,the.PN curses program looks fortypeahead input periodically while updating the screen.If input is found, the current update will be postponed until .PN refresh or .PN doupdate is called again.This allows faster response to commands typed in advance..PPNormally, the input FILE pointer passed to the.PN newterm routine,will be used to do this typeahead checking.If the routine .PN initscr was called, the input FILE pointer is passed to.PN stdin ..PPThe .PN typeahead routine specifies that the file descriptor .PN fdis to be used to check for typeahead.If .PN fdis \-1, then typeahead is disabled..SH Return ValuesNo return values are defined for this function..SH See Alsodoupdate(3cur), initscr(3cur), newterm(3cur), refresh(3cur)

⌨️ 快捷键说明

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