Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

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

Closed
ZoeyR opened this issue Aug 10, 2017 · 6 comments
Closed

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

ZoeyR opened this issue Aug 10, 2017 · 6 comments

Comments

@ZoeyR
Copy link
Contributor

ZoeyR commented Aug 10, 2017

From @shanselman on August 2, 2017 18:46

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.

Copied from original issue: ZoeyR/WhackWhackTerminal#15

@ZoeyR
Copy link
Contributor Author

ZoeyR commented Aug 10, 2017

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

@ZoeyR
Copy link
Contributor Author

ZoeyR commented Aug 10, 2017

From @shanselman on August 2, 2017 20:39

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
Contributor Author

ZoeyR commented Aug 10, 2017

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

@ZoeyR
Copy link
Contributor Author

ZoeyR commented Aug 10, 2017

From @Tyriar on August 3, 2017 6:7

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.

@ZoeyR
Copy link
Contributor Author

ZoeyR commented Aug 10, 2017

From @shanselman on August 3, 2017 8:42

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
Contributor Author

ZoeyR commented May 30, 2019

Fixed as of #79

@ZoeyR ZoeyR closed this as completed May 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant