mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #628] fix(core): correct colors in Apple Terminal and add 256-color fallback #1449
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#1449
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/628
Author: @Harry-zklcdc
Created: 2/4/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (3)
bcae581fix(terminal): disable truecolor and explicit width query for Apple Terminalcadf881feat(renderer): add 256-color fallback for non-truecolor terminals79eb5f3fix(renderer): adjust rgbToAnsi256 function to handle edge case for red component #628📊 Changes
3 files changed (+71 additions, -21 deletions)
View changed files
📝
packages/core/src/zig/ansi.zig(+8 -0)📝
packages/core/src/zig/renderer.zig(+29 -3)📝
packages/core/src/zig/terminal.zig(+34 -18)📄 Description
Summary
Snapshot
Before
After
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.