mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #373] [MERGED] fix(OSC4): tmux 3.6 has native support for OSC4 and should not be wrapped #491
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/373
Author: @noirbizarre
Created: 12/1/2025
Status: ✅ Merged
Merged: 12/2/2025
Merged by: @kommander
Base:
main← Head:fix/tmux-osc4📝 Commits (1)
899b6e3fix(OSC4): tmux 3.6 has native support for OSC4 and should not be wrapped📊 Changes
2 files changed (+10 additions, -8 deletions)
View changed files
📝
packages/core/src/lib/terminal-palette.ts(+6 -6)📝
packages/core/src/renderer.ts(+4 -2)📄 Description
#354 fix was only working for tmux<3.6 because it doesn't have native OSC4 support, so OSC4 sequence needed escaping.
But, tmux 3.6 has native OSC4 support and wrapping the sequence in a tmux escape prevent OSC4 to work with tmux 3.6.
This fixes sst/opencode#3688 for tmux 3.6 (regression was introduced by upgrading to OpenTUI 0.1.51 in
github.com/sst/opencode@204a31b6bb.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.