mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #304] [MERGED] fix: refactor asciifont and fix seg fault on color setters #436
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#436
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/304
Author: @msmps
Created: 11/11/2025
Status: ✅ Merged
Merged: 11/12/2025
Merged by: @msmps
Base:
main← Head:fix/resolve-ascii-color-issue-20251111221423📝 Commits (4)
5a353a5refactor: asciifont to use color inputs for foreground and background colors; update related properties and methods for consistency40a187erefactor: update ascii font and related examples to use 'color' and 'backgroundColor' properties for consistency5b2c390docs: update readme to include new components<textarea>and<code>with descriptionsfa6d726Merge branch 'main' into fix/resolve-ascii-color-issue-20251111221423📊 Changes
10 files changed (+111 additions, -107 deletions)
View changed files
📝
packages/core/docs/getting-started.md(+1 -1)📝
packages/core/src/examples/ascii-font-selection-demo.ts(+8 -8)📝
packages/core/src/examples/fonts.ts(+26 -26)📝
packages/core/src/examples/index.ts(+2 -2)📝
packages/core/src/examples/scroll-example.ts(+2 -2)📝
packages/core/src/lib/ascii.font.ts(+14 -8)📝
packages/core/src/renderables/ASCIIFont.ts(+51 -44)📝
packages/core/src/renderables/Select.ts(+2 -2)📝
packages/react/README.md(+3 -7)📝
packages/react/examples/ascii.tsx(+2 -7)📄 Description
Summary
Refactors
ASCIIFontto usecolorandbackgroundColorproperties instead offg/bg, and updates examples and documentation.Changes
ASCIIFontnow acceptsColorInput | ColorInput[]forcolorandColorInputforbackgroundColorfgandbgoptions removed fromASCIIFontOptions<textarea>and<code>components to READMEBreaking Changes
fgandbgproperties removed - usecolorandbackgroundColorinsteadColorInputtypes (string, RGBA, etc.) directly🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.