Pasting does not clear the rendered selection #15207

Open
opened 2026-01-31 04:31:27 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Sep 14, 2021).

Windows Terminal version (or Windows build number)

1.10.2383.0

Other Software

None

Steps to reproduce

  1. Create a selection
  2. execute paste keybinding

Expected Behavior

Paste should clear the selection and inject the pasted text.

Actual Behavior

The text is pasted, but the selection is not cleared.

Interestingly, executing the copy action (with ctrl+c, for example) passes the keybinding through. This suggests that the selection was cleared, but we're not telling the renderer to TriggerSelection() on a paste operation.

Originally created by @carlos-zamora on GitHub (Sep 14, 2021). ### Windows Terminal version (or Windows build number) 1.10.2383.0 ### Other Software None ### Steps to reproduce 1. Create a selection 2. execute `paste` keybinding ### Expected Behavior Paste should clear the selection and inject the pasted text. ### Actual Behavior The text is pasted, but the selection is not cleared. Interestingly, executing the copy action (with <kbd>ctrl+c</kbd>, for example) passes the keybinding through. This suggests that the selection was cleared, but we're not telling the renderer to `TriggerSelection()` on a paste operation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15207