Prevent flickering when curses always send a resized key