rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Problem with input/output #561

Closed pysaumont closed 4 years ago

pysaumont commented 4 years ago

Hello,

I have problem running programs performing input/output from the plugin. For example:

main = putStrLn "What is your name?"
         >> getLine
         >>= \name -> putStrLn ("Hello, " ++ name ++ "!")

This works as expected from the command line (using stack run, but from Intellij, it doesn't display the prompting message (What is your name?) until you enter a name, and then it displays everything. Is there a workaround?

pysaumont commented 4 years ago

Forget about it. Solution is in issue 378.