[PR #18412] Fix copy/paste when Terminal Chat is open #31524

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

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

State: open
Merged: No


Summary of the Pull Request

TerminalPage was handling the copy/paste actions even when TerminalChat was open, preventing the command from reaching the palette. This commit checks the visibility of the chat pane before handling these actions.

Validation Steps Performed

Paste/copy are handled appropriately if the chat is open.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18412 **State:** open **Merged:** No --- ## Summary of the Pull Request TerminalPage was handling the copy/paste actions even when TerminalChat was open, preventing the command from reaching the palette. This commit checks the visibility of the chat pane before handling these actions. ## Validation Steps Performed Paste/copy are handled appropriately if the chat is open. ## PR Checklist - [x] Closes #16589 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:47:48 +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#31524