OSC 52 should only function while the terminal has focus #23365

Open
opened 2026-01-31 08:40:09 +00:00 by claunia · 1 comment
Owner

Originally created by @natedogith1 on GitHub (Jun 18, 2025).

Description of the new feature

For similar reasons web browsers limit clipboard access to during user interaction, OSC 52 should only work while the terminal has focus. It might also make sense to have a confirmation box similar to how multi-line paste works.

Proposed technical implementation details

No response

Originally created by @natedogith1 on GitHub (Jun 18, 2025). ### Description of the new feature For similar reasons web browsers limit clipboard access to during user interaction, OSC 52 should only work while the terminal has focus. It might also make sense to have a confirmation box similar to how multi-line paste works. ### Proposed technical implementation details _No response_
Author
Owner

@DHowett commented on GitHub (Jul 2, 2025):

Sounds reasonable to us!

@DHowett commented on GitHub (Jul 2, 2025): Sounds reasonable to us!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23365