Skip to content

Document that terminalio.Terminal colors apply to the whole terminal - #11704

Merged
dhalbert merged 1 commit into
adafruit:mainfrom
mikeysklar:fix-10478
Nov 1, 2026
Merged

dhalbert merged 1 commit into
adafruit:mainfrom
mikeysklar:fix-10478

Conversation

@mikeysklar

Copy link
Copy Markdown
Collaborator

What

Adds a note to the terminalio.Terminal docs that colors apply to the whole terminal, and points to adafruit_color_terminal for color per character.

Why

#10478 expected per-character color, and the docs never said otherwise.

Related to #10478. Core support for per-character color stays open.

Testing

Test Result
Desktop port, ESC[31m alone, no new text 400 px white became 0 white, 400 red
Desktop port, issue's box and labels, 6 colors 511 px, all the last color
Desktop port, adafruit_color_terminal, 3 colors 200 red, 180 green, 220 blue kept apart
CLUE, stock 11.0.0-alpha.2-40, hw_code.py 14/14 palette and cursor checks pass

Limits: docs build not run locally. A color escape on a ColorConverter terminal hard faults on a CLUE, which this does not fix.

AI assistance

Claude Code wrote the note and tests, and ran the desktop port and CLUE tests.

🤖 Generated with Claude Code

Point to adafruit_color_terminal for color per character.

Related to adafruit#10478.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@dhalbert dhalbert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - clear doc!

@dhalbert
dhalbert merged commit 1b8eec3 into adafruit:main Nov 1, 2026
630 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants