We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 513d589 + 250526b commit 56a1c10Copy full SHA for 56a1c10
haskell-commands.el
@@ -87,9 +87,11 @@ You can create new session using function `haskell-session-make'."
87
:state process
88
89
:go (lambda (process)
90
- (haskell-process-send-string process ":set prompt \"\\4\"")
+ ;; We must set the prompt last, so that this command as a
91
+ ;; whole produces only one prompt marker as a response.
92
(haskell-process-send-string process "Prelude.putStrLn \"\"")
- (haskell-process-send-string process ":set -v1"))
93
+ (haskell-process-send-string process ":set -v1")
94
+ (haskell-process-send-string process ":set prompt \"\\4\""))
95
96
:live (lambda (process buffer)
97
(when (haskell-process-consume
0 commit comments