Skip to content

Ctrl-C kills cabal repl on windows #8820

Closed
@ambroslins

Description

@ambroslins

Describe the bug
Using Ctrl + C inside cabal repl (to clear the line or interrupt a long running command) closes the repl on windows.

To Reproduce

$ cabal v2-repl
  • Press Ctrl + C

Expected behavior
I expect the repl to stay open after using Ctrl + C, as ghci and cabal repl on WSL stay open after the interrupt.

System information

  • Operating system: Windows 10
  • cabal version 3.6.2.0 (installed with ghcup)

Additional context
I think this is the same as #1448, but I opened as new issue as this is windows specific.

I also tested the commit 9e417fa built with ghc 8.10.7 and 9.2.5, but it has the same problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions