Skip to content

ghci records empty input lines in readline history

Ghci records empty input lines in the readline history. This appears to be a regression compared to 6.6.1.

(To reproduce, start ghci, enter "3", press <enter>, press <enter> again, and then press <up-arrow> once. You'll get an empty line, while you should get "3" again.)

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information