Avoid send commands if input text has focus