Skip to content

ctrl-c doesn't always work when entering text in ghci

With ghci-7.5.20120519 (on Mac and probably also Linux): type some text, then press ctrl-c. Then type more text, and press ctrl-c again. The first time you press ctrl-c, it starts a new line. But the second time you press ctrl-c, nothing happens. (Actually running code from within ghci resets this process.)

This is a regression from the behavior of ghci-7.4.1, where every time you press ctrl-C it caused a new line to be printed.

From my initial investigation, I think this was caused by ghc commit 206c8fc3, which was used to fix #2786.

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