         C.$prompt.addEventListener 'input', C.autoComplete.listener
         C.autoComplete.listener()
 
-        C.$prompt.focus()
+        C.focusPrompt()
 
         C.history.load()
 

        C.$outputs.appendChild $outputResult

        setTimeout ->
            C.$prompt.focus()

    impl : (result) ->
        $output = document.createElement 'ITEM'

        C.$prompt.focus()

        return if e and e.target is C.$prompt

        C.$prompt.scrollIntoView()

        return if C.$prompt.innerText.trim() is ''

        # Set cursor to last
