Don't handle keyboard input while console is visible.