Hi folks,
I'm using System.IO.getLine to read input in my program. I've compiled it on
Windows Vista with ghc-6.10.1. I've noticed that if I press Ctrl+C while the
program is waiting for input, it will get stuck. No keypresses can get me
out of the program - I have to kill the shell. I've tried cmd.exe,
Powershell and cygwin - same behavior.

I'm sure editline would work better, but it's overkill. I just want to read
lines of text and don't need fancy edit behavior. And I think editline
complicates the build process. I also want my program to work right in
non-interactive mode, reading redirected input.

Am I missing something?

Thanks,
Lyle
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to