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

CTRL-C on a line when something isn't selected should send a break #15

Closed
shanselman opened this issue Aug 2, 2017 · 6 comments
Closed

Comments

@shanselman
Copy link

CTRL-C on a line when something isn't selected should send a break (that is, cancel the command and go to a clear line) instead of outputting ^c.

@ZoeyR
Copy link
Owner

ZoeyR commented Aug 2, 2017

It should currently be doing that. Can you give some more context into what you mean?

@shanselman
Copy link
Author

Go into cmd.exe, type test, then ctrl-c. The command is cancelled and you get a new prompt. In WhackWhack you either get a "^C" output OR nothing happens.

@ZoeyR
Copy link
Owner

ZoeyR commented Aug 2, 2017

test isn't recognized as a command for me. Is it a program you installed?

@Tyriar
Copy link

Tyriar commented Aug 3, 2017

Here's the upstream issue microsoft/node-pty#7 for this. This is one of the problems that is very difficult because of the nature of the backing library winpty.

You can however press esc to reliably clear the line in cmd and powershell.

@shanselman
Copy link
Author

Thanks @Tyriar.

@dgriffen It's not a exe, it's just text...try it in cmd.exe. Type some stuff and hit ctrl+C. It's different behavior from ESC as @Tyriar suggests.

@ZoeyR
Copy link
Owner

ZoeyR commented Aug 10, 2017

This issue was moved to microsoft/WhackWhackTerminal#16

@ZoeyR ZoeyR closed this as completed Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants