cmder icon indicating copy to clipboard operation
cmder copied to clipboard

Ctrl+C no longer works as expected

Open Alxandr opened this issue 11 years ago • 6 comments

Not sure if this is a bug, or an enhancement or simply something I need to change in the config, so if this is expected behavior and I'm just being stupid, I apologize in advanced ;).

I just installed the new 1.2.9 release. I've a newly formatted PC, so I just grabbed the latest release from github releases. In the previous version, when I pressed Ctrl+C, it would send the Ctrl+C to the underlying application. In the new version, I have to press enter first (or after). Otherwise it'll just display ^C in the console.

Following are some images to illustrate, and reproduce steps:

image

Here, I've run node, and once the prompt is up I've hit Ctrl+C (nothing else). If I then hit enter, the following happens:

image

It seems, both the Ctrl+C, and the enter is sent to the node process only after the first enter is pressed. However, if I reverse the order of things, and run node and press enter, everything works as expected.

image

Alxandr avatar Oct 19 '15 11:10 Alxandr

I am pretty sure this is expected behavior from Node. I tested this behavior on my remote web server and got the same thing. Not all programs handle ctrl + C the same way.

So I would say that this is a non-issue, and can be closed. @Stanzilla @MartiUK

DanielGGordon avatar Oct 19 '15 20:10 DanielGGordon

Thanks @DanielGGordon.

@Alxandr, I'm not having this issue when running node under PS or cmd in an unmodified 1.2.9 build, ctrl + C is being sent straight away.

MartiUK avatar Oct 20 '15 08:10 MartiUK

This does not seem to be a node issue, but rather a cmd issue. I don't get this behavior in default cmder nor in linux, I do see it in "cmder here" as well as in plain cmd and ps.

The fix for my "cmder here" was to use "{cmd}" as the command for the explorer integration. And change the default task "{cmd}" to: cmd /k "%ConEmuDir%\..\init.bat" -new_console:%__CD__%

devmckeon avatar Apr 20 '16 08:04 devmckeon

I'm running into the same issue when running Python programs

calclavia avatar Jan 22 '17 05:01 calclavia

@calclavia windows 10 insider build?

Stanzilla avatar Jan 22 '17 17:01 Stanzilla

@Stanzilla Yes

calclavia avatar Jan 28 '17 04:01 calclavia