Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First REPL command as CTRL+C #3436

Closed
tflanagan opened this issue Oct 19, 2015 · 4 comments
Closed

First REPL command as CTRL+C #3436

tflanagan opened this issue Oct 19, 2015 · 4 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. repl Issues and PRs related to the REPL subsystem.

Comments

@tflanagan
Copy link
Contributor

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)
>
@Fishrock123 Fishrock123 added the repl Issues and PRs related to the REPL subsystem. label Oct 19, 2015
@Fishrock123
Copy link
Contributor

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

@benjamingr
Copy link
Member

I can repro this on Windows 10.

@tflanagan
Copy link
Contributor Author

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

@Fishrock123
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

No branches or pull requests

3 participants