On Fri Oct 6 06:52:42 2023 +0000, Maarten De Braekeleer wrote:
Hey! First, thanks for addressing this. The fact that CTRL+C closes cmd was the reason I created https://bugs.winehq.org/show_bug.cgi?id=55197. I have some questions about the current cmd behavior:
- `CTRL+C` creates a new line, but does not write a new prompt to stdout. Typing text will make text appear again on the original line.
Microsoft cmd will create a new prompt, and make new text input appear after that.
- This is probably a feature request, but I think it would be useful to
close cmd by pressing CTRL+D (EOF). Other repl's, such as python have this behavior. If you prefer me to create bugzilla issues for these, let me know.
please file a bug report for the missing prompt after ctrl-c in cmd (note: it should be also pointed out that ctrl-c in builtin cmd doesn't stop current command: e.g. try to stop 'dir /s c:\')
I'm afraid that ctrl-d will not be supported as you'd like. this is a unix shell behavior, not windows console one.