Terminal does not reset correctly with System.Console.SimpleLineEditor

Einar Karttunen ekarttun at cs.helsinki.fi
Sat Nov 6 13:52:42 EST 2004


It appears that the console is not reset correctly with
System.Console.SimpleLineEditor. The terminal does not 
echo characters until it is reset. 

The following program demonstrates it:
import System.Console.SimpleLineEditor
main = initialise >> getLineEdited "prompt> " >>= print >> restore

This occurs with the Debian ghc package version 6.2.1 and the binary cvs 
snapshot of 20041017, both on i386 linux and in an xterm.

- Einar Karttunen

More information about the Glasgow-haskell-users mailing list