intrflush(3cur)intrflush(3cur)Nameintrflush - enable flush on interrupt
Syntax
#include <cursesX.h>
int intrflush(win, bf)
WINDOW ∗win;
bool bf;
Description
If is 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 interrupt but causes the program to have an
inaccurate picture of what is on the screen. Disabling the option pre‐
vents the flush.
The 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.
Return Values
The function returns OK on success and ERR on error.
intrflush(3cur)