       lines = @editor.getScreenLineCount()
       @editorDiv.style.setProperty 'height',
         "#{lines*lh}px"
+    setPrompt = (prompt) =>
+      @promptDiv.innerText = prompt+'>'
 
     @editorElement.onDidAttach -> setEditorHeight()
     @editor.onDidChange ->


    ghci = @process.process

    ghci.stdin.write(":set prompt \"\\n#~IDEHASKELLREPL~#\\n\"#{EOL}")
    ghci.stdin.write(":set prompt2 \"\"#{EOL}")
    ghci.stdin.write(":set editor atom #{EOL}")
    ghci.stdin.write(":load #{@uri}#{EOL}")

    @output.setGrammar \
      atom.grammars.grammarForScopeName 'text.tex.latex.haskell'
    @element.appendChild @errDiv = document.createElement 'pre'
    @element.appendChild @promptDiv = document.createElement 'div'
    @element.appendChild @editorDiv = document.createElement 'div'
    @editorDiv.classList.add('ide-haskell-repl-editor')
    @editorDiv.appendChild @editorElement =
