[GHC] #8715: Prompt stays at | instead of going back to > when pressing C-c in multi-line blocks.

#8715: Prompt stays at | instead of going back to > when pressing C-c in multi- line blocks. -------------------------------------------+-------------------------- Reporter: RobinHoksbergen | Owner: Type: bug | Status: new Priority: low | Milestone: Component: GHCi | Version: 7.6.3 Keywords: | Operating System: Linux Architecture: x86_64 (amd64) | Type of failure: Other Difficulty: Easy (less than 1 hour) | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------------+-------------------------- Starting a block of code in GHCi is done by writing :{, upon which the prompt changes from '>' to '|'. Pressing C-c cancels the block of code, but the '|' prompt remains. This can be somewhat confusing in that it appears GHCi is still stuck in the current block of code, but returns an "unknown command ':}'" when trying to close it. Reproduction steps: * Run GHCi * Start a multi-line block with ':{' * (Optional) Write some code. * Close the block with C-c. * The block will now be closed, but the prompt remains. Opening and closing a new block using the same syntax did not solve the problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8715 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8715: Prompt stays at | instead of going back to > when pressing C-c in multi- line blocks. -------------------------------+------------------------------------------- Reporter: | Owner: RobinHoksbergen | Status: closed Type: bug | Milestone: Priority: low | Version: 7.6.3 Component: GHCi | Keywords: Resolution: duplicate | Architecture: x86_64 (amd64) Operating System: Linux | Difficulty: Easy (less than 1 hour) Type of failure: Other | Blocked By: Test Case: | Related Tickets: Blocking: | -------------------------------+------------------------------------------- Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: Thanks for the report; it's a duplicate of #5209. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8715#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC