Send command on enter key