mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #605] [MERGED] fix(terminal): add OSC 66 compatibility for older terminals #652
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#652
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/605
Author: @jobrk
Created: 1/31/2026
Status: ✅ Merged
Merged: 2/2/2026
Merged by: @kommander
Base:
main← Head:fix/osc66-terminal-compatibility📝 Commits (3)
2d1127dfix(terminal): add OSC 66 compatibility for older terminals88edab1prettierda5d3d5Merge branch 'main' into fix/osc66-terminal-compatibility📊 Changes
4 files changed (+145 additions, -8 deletions)
View changed files
📝
packages/core/docs/development.md(+51 -0)📝
packages/core/docs/env-vars.md(+2 -2)📝
packages/core/src/zig/terminal.zig(+11 -6)📝
packages/core/src/zig/tests/terminal_test.zig(+81 -0)📄 Description
Fixes compatibility issues with older terminal emulators (e.g., GNOME Terminal) that don't support OSC 66 escape sequences. These terminals were displaying visible artifacts containing "66" when OpenTUI applications ran.
Changes:
When OPENTUI_FORCE_EXPLICIT_WIDTH=false:
Backward compatibility:
Tests:
Documentation:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.