intrflush.3cur

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

3CUR
40
字号
.TH intrflush 3cur .SH Nameintrflush \- enable flush on interrupt.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint intrflush(win, bf).br.BWINDOW \(**win;.br.Bbool bf;.SH Description.NXR "intrflush subroutine"If .PN intrflushis enabled, pressing an interrupt key(interrupt, break, quit) flushes all output in the tty driver queue.This gives the effect of a faster response to the interruptbut causesthe.PN cursesprogram to have an inaccurate picture of what is on the screen.Disabling the option prevents the flush..PPThe default for the option is dependent on the tty driver settings.You have to force the terminal into the state you require. The window argument is ignored..SH Return ValuesThe.PN intrflushfunction returns OK on success and ERR on error.

⌨️ 快捷键说明

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