         @textarea.blur()
         $(@terminal.element).focus()
 
-        if IS_TOUCH
-            @element.find(".webapp-console-input-line").focus()
-            @terminal.focus()
-        else
+        if not IS_TOUCH
             @_focus_hidden_textarea()
-            @terminal.focus()
+        @terminal.focus()
 
         $(@terminal.element).addClass('webapp-console-focus').removeClass('webapp-console-blur')
         setTimeout((()=>delete @_focusing), 0)   # critical!

        # Init pausing rendering when user clicks
        @_init_rendering_pause()

        if not IS_TOUCH
            @textarea.on 'blur', =>
                if @_focusing?          # see comment in @focus.
                    @_focus_hidden_textarea()

        # delete scroll buttons except on mobile
        if not IS_TOUCH

            focused_console = undefined

        @is_focused = false

        try
            @terminal.blur()
