[Haskell-cafe] Character I/O
andrewcoppin at btinternet.com
Tue Mar 31 17:11:41 EDT 2009
Judah Jacobson wrote:
> Sounds like you're on Windows, so it's probably this bug:
I am on Windows. It looks like my programs are running editline or
something to give a command history. Ordinarily that would actually be
quite useful, but for this particular application, not so much.
> Although: if you're trying to get at the arrow keys from the Windows
> cmd console, it's not possible by reading stdin; rather, you need to
> access the lower-level Win32 console APIs:
> Not sure if it will help, but you could take a look at what I did in Haskeline:
All useful ideas. I'll give that a shot...
More information about the Haskell-Cafe