pub fn intrflush(flag: bool) -> Result<(), NCurseswError>
Expand description
If the intrflush()
option is enabled (flag
is true
), and an interrupt
key is pressed on the keyboard (interrupt, break, quit), all output in the
tty driver queue will be flushed, giving the effect of faster response to
the interrupt, but causing NCurses to have the wrong idea of what is on the
screen. Disabling the option (flag
is false
) prevents the flush.
The default for the option is inherited from the tty driver settings.