       cwd: atom.project.getDirectories()[0].getPath()
 
     @ghci.onResponse (response) =>
+      @helpDiv.remove()
       @log response
 
     @ghci.onError (error) =>

    @editor.setLineNumberGutterVisible(false)
    @editor.setGrammar \
      atom.grammars.grammarForScopeName 'source.haskell'

    setTimeout (=>@editorElement.focus()),100


    @output.getDecorations(class: 'cursor-line', type: 'line')[0].destroy()
    @output.setGrammar \
      atom.grammars.grammarForScopeName 'text.tex.latex.haskell'
    @element.appendChild @helpDiv = document.createElement 'div'
    @element.appendChild @errDiv = document.createElement 'pre'
    @element.appendChild @promptDiv = document.createElement 'div'
    @element.appendChild @editorDiv = document.createElement 'div'
