Enable queue flushing. flag If false, the effect is the same as calling noqiflush(). If queue flushing is enabled, all output in the display driver queue will be flushed when the INTR, QUIT and SUSP characters are read.
curses/qiflush
qiflush