Skip to content

Unable to exit REPL via escape codes when TERM=dumb #29111

Closed
@silverwind

Description

@silverwind

^C or ^D do not exit the REPL when TERM=dumb is set. Is this expected?

$ TERM=dumb node
Welcome to Node.js v12.8.0.
Type ".help" for more information.
>
[press ^C]
(To exit, press ^C again or ^D or type .exit)
[press ^C]
>
[press ^D]
>
[press ^D]
>.exit
[finally out of it]

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions