Change attributes after transmitting all queued output and discarding all queued input.
termios/TCSAFLUSH
TCSAFLUSH