Sitelet https://github.com/nodejs/node/issues/3436
Skip to content

First REPL command as CTRL+C #3436

Description

@tflanagan

Windows 10 Pro (64-bit)
Version 10.0.10240 Build 10240

$ node -v
v4.2.1
$ node
> ^C^C^C^C
# Doesn't detect the interrupt, allows me to keep hitting CTRL+C N times
# Hitting Enter after N CTRL+C registers the interupt, if N >= 2, exits
$ node
> ^C^C^C^C^C^C^C^C^C^C
# <Enter>
(^C again to quit)
>
# Says to hit it again, but it exits immediately
$ node
> ^C
# <Enter>
(^C again to quit)
>
>
(^C again to quit)
>

If the first command is not CTRL+C, it works as expected:

$ node
> 1 + 1
1 + 1
2
>
(^C again to quit)
>

Activity

  1. added
    replIssues and PRs related to the REPL subsystem.
    on Oct 19, 2015
  2. Fishrock123 commented on Oct 19, 2015

    @Fishrock123
    Contributor

    @tflanagan What platform is on? Fwiw it works fine on OS X. Related to #3194

  3. benjamingr commented on Oct 19, 2015

    @benjamingr
    Member

    I can repro this on Windows 10.

  4. tflanagan commented on Oct 19, 2015

    @tflanagan
    ContributorAuthor

    @Fishrock123 I am running Windows 10 Pro 64-Bit with Nodejs v4.2.1

  5. Fishrock123 commented on Oct 19, 2015

    @Fishrock123
    Contributor

    Ok, this looks like a duplicate then. Please comment in #3194 :)

  6. added
    duplicateIssues and PRs that are duplicates of other issues or PRs.
    on Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.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