[PR #9605] WriteCharsLegacy: Add some notes in comments and rename WC_ECHO #27657

Closed
opened 2026-01-31 09:23:19 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/9605

State: closed
Merged: Yes


This commit clarifies some things inside WriteCharsLegacy by adding
comments and renaming parameter and enum names. It does not change any
logic.

WC_ECHO was used extensively to mean only one thing: whether to print
a control character like \x18 (Ctrl+X) as ^X. It's been
renamed to make that abundantly clear.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/9605 **State:** closed **Merged:** Yes --- This commit clarifies some things inside WriteCharsLegacy by adding comments and renaming parameter and enum names. It does not change any logic. `WC_ECHO` was used extensively to mean only one thing: whether to print a control character like `\x18` (<kbd>Ctrl+X</kbd>) as `^X`. It's been renamed to make that abundantly clear.
claunia added the pull-request label 2026-01-31 09:23:19 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27657