[PR #354] [MERGED] feat(terminal-palette): add tmux OSC sequence passthrough support #474

Closed
opened 2026-03-02 23:46:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/354
Author: @melMass
Created: 11/27/2025
Status: Merged
Merged: 11/27/2025
Merged by: @kommander

Base: mainHead: fix-tmux-osc


📝 Commits (2)

  • d857a7e feat(terminal-palette): add tmux OSC sequence passthrough support
  • c2e2b7b refactor(terminal-palette): use renderer capabilities for tmux detection

📊 Changes

2 files changed (+29 additions, -6 deletions)

View changed files

📝 packages/core/src/lib/terminal-palette.ts (+27 -5)
📝 packages/core/src/renderer.ts (+2 -1)

📄 Description

  • wrap OSC sequences for tmux using DCS format (ESC P tmux; ...)
  • detect tmux environment and automatically wrap sequences when needed
  • consolidate OSC writes through new writeOsc() method for cleaner passthrough handling

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/354 **Author:** [@melMass](https://github.com/melMass) **Created:** 11/27/2025 **Status:** ✅ Merged **Merged:** 11/27/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-tmux-osc` --- ### 📝 Commits (2) - [`d857a7e`](https://github.com/anomalyco/opentui/commit/d857a7e7441ba96a7692777fad9030636c0241bd) feat(terminal-palette): add tmux OSC sequence passthrough support - [`c2e2b7b`](https://github.com/anomalyco/opentui/commit/c2e2b7bfd13ed3596a1fc1ef35d67fa527c4538e) refactor(terminal-palette): use renderer capabilities for tmux detection ### 📊 Changes **2 files changed** (+29 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/lib/terminal-palette.ts` (+27 -5) 📝 `packages/core/src/renderer.ts` (+2 -1) </details> ### 📄 Description - wrap OSC sequences for tmux using DCS format (ESC P tmux; ...) - detect tmux environment and automatically wrap sequences when needed - consolidate OSC writes through new writeOsc() method for cleaner passthrough handling --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#474
No description provided.