Ignore keys generated by a tty (xterm) resizing.