Bug report form.
My email address:
[EMAIL PROTECTED]
Hugs version:
November 1999
Configuration options:
none
Operating System:
Linux (Red Hat 6.2 on Pentium)
Compiler:
gcc
Expected Behaviour:
User input for the getLine function can be edited with the back-space key.
The session below should give
[104,101,108,108]
as answer.
Observed Behaviour:
The back-space key is treated just like any other key, so that it occurs in
the result of the getLine function.
The session below gives
[104,101,108,108,111,8]
as answer.
Session transcript:
getLine >>= \s -> putStr (show (map ord s))
-- followed by input "hello<BACKSPACE>"