TODO: [MSFT:4586207] Clean up CommandLine::ProcessCommandLine -- needs helpers. #1830

Closed
opened 2026-01-30 22:39:02 +00:00 by claunia · 2 comments
Owner

Originally created by @ChristophePichaud on GitHub (Jun 22, 2019).

Summary of the new feature/enhancement

This code requires functions (helpers) and better wrtiting style.
Issue idea comes from source code of cmdline.cpp line 582 and a TODO MSFT comment.

Proposed technical implementation details (optional)

../..
switch (wch)
{
case VK_ESCAPE:
OnKeyEscape(cookedReadData, true);
break;
case VK_DOWN:
OnKeyDown(cookedReadData);
break;
../..

MSFT:4586207

Originally created by @ChristophePichaud on GitHub (Jun 22, 2019). # Summary of the new feature/enhancement This code requires functions (helpers) and better wrtiting style. Issue idea comes from source code of cmdline.cpp line 582 and a TODO MSFT comment. # Proposed technical implementation details (optional) ../.. switch (wch) { case VK_ESCAPE: OnKeyEscape(cookedReadData, true); break; case VK_DOWN: OnKeyDown(cookedReadData); break; ../.. MSFT:4586207
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 24, 2019):

Please be careful when looking at this area. It's one of the more difficult areas in conhost, and it can impact application compatibility pretty heavily.

@DHowett-MSFT commented on GitHub (Jun 24, 2019): Please be careful when looking at this area. It's one of the more difficult areas in conhost, and it can impact application compatibility pretty heavily.
Author
Owner

@ChristophePichaud commented on GitHub (Jun 24, 2019):

Does it means I can try on a dedicated branch or I need to explain more things ?
Looking at the code is not so tremendous difficult. It's a central and nervous point yes, but not so difficult to handle. Correct me if I'm wrong.

@ChristophePichaud commented on GitHub (Jun 24, 2019): Does it means I can try on a dedicated branch or I need to explain more things ? Looking at the code is not so tremendous difficult. It's a central and nervous point yes, but not so difficult to handle. Correct me if I'm wrong.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1830