^C doesn't correctly reset the prompt from within multiline commands in ghci
Steps to reproduce:
- Open ghci.[[BR]]
- Start a multiline command with ":{".[[BR]]
- Decide multiline commands are overrated, and hit Ctrl-C to cancel.[[BR]]
Observed output:
Prelude> :{
Prelude|
Prelude|
Expected output:
Prelude> :{
Prelude|
Prelude>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |