Skip to content

Commit

Permalink
make prompt more useful on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
anchpop committed Sep 4, 2019
1 parent 71a266f commit 0c11f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runGrOnFiles globPatterns config = let ?globals = grGlobals config in do
runGrOnStdIn :: GrConfig -> IO ()
runGrOnStdIn GrConfig{..}
= let ?globals = grGlobals{ globalsSourceFilePath = Just "stdin" } in do
printInfo "Reading from stdin: confirm input with `enter+ctrl-d` or exit with `ctrl-c`"
printInfo "Reading from stdin: confirm input with `enter+ctrl-d` (`enter+ctrl-z` on windows) or exit with `ctrl-c`"
debugM "Globals" (show ?globals)
result <- getContents >>= run
printResult result
Expand Down

0 comments on commit 0c11f88

Please sign in to comment.