Snippets & useCommandline don't account for grapheme clusters quite right #21852

Open
opened 2026-01-31 07:56:32 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Jun 11, 2024).

Originally assigned to: @zadjii-msft on GitHub.

  • ActionMap.cpp@_filterToSendInput
    • Generates backspaces based on the number of characters in the commandline, which isn't quite right
  • Terminal::PreviewText (after #17386 )
    • Similarly, pads out spaces on the right side of the preview, but using the string length, not string columns
Originally created by @zadjii-msft on GitHub (Jun 11, 2024). Originally assigned to: @zadjii-msft on GitHub. * [ ] `ActionMap.cpp@_filterToSendInput` * Generates backspaces based on the number of characters in the commandline, which isn't quite right * [ ] `Terminal::PreviewText` (after #17386 ) * Similarly, pads out spaces on the right side of the preview, but using the string length, not string columns
claunia added the Issue-BugNeeds-Tag-FixProduct-TerminalArea-Suggestions labels 2026-01-31 07:56:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21852