Skip to content

Win32 Input Mode - Quirks and Caveats? #13239

Answered by DHowett
Pixel-Minions asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, so [2] above is a result of me reading the code wrong. It is checking for vkey being C, not uchar being C.

The ^C event win32im seems to be expecting is VK=C UC=ETX MODS=CTRL. I'm comfortable saying that that has its origins in the window messages conhost used to receive.

Realistically, "win32 input mode" is really "what window messages did conhost expect to get?" mode, but... less obvious.

Replies: 8 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DHowett
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wez
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Product-Conpty For console issues specifically related to conpty Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Discussion Something that requires a team discussion before we can proceed
3 participants
Converted from issue

This discussion was converted from issue #13134 on June 06, 2022 22:33.