[PR #15423] Hotfix block selection linebreaks in conhost #30631

Open
opened 2026-01-31 09:41:58 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This regressed in a1f42e8 which only made changes to Windows Terminal
but forgot to make equivalent ones in OpenConsole/conhost.
Without this fix, line breaks in block selections are missing if the
line doesn't force a wrap via an explicit newline.

Closes #15153

Validation Steps Performed

  • Run Far or print long lines of text
  • Trigger block selection via Ctrl+M or Edit > Mark
  • Clipboard contains N-1 newlines lines for N selected rows ✅
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15423 **State:** closed **Merged:** Yes --- This regressed in a1f42e8 which only made changes to Windows Terminal but forgot to make equivalent ones in OpenConsole/conhost. Without this fix, line breaks in block selections are missing if the line doesn't force a wrap via an explicit newline. Closes #15153 ## Validation Steps Performed * Run Far or print long lines of text * Trigger block selection via Ctrl+M or Edit > Mark * Clipboard contains N-1 newlines lines for N selected rows ✅
claunia added the pull-request label 2026-01-31 09:41:58 +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#30631