gizak / gizak/termui

Enable paragraph styles to use all terminal colors, not just named colors

Open
#262 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.6k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

In variable `StyleParserColorMap` in `style_parser.go`, there is only support for eight colors. I would like the color set to be expanded to all 256 available terminal colors.

The `ParseStyles` function is what is used to apply styles to paragraphs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in style_parser.go by reading the StyleParserColorMap variable and the ParseStyles function that applies styles to paragraphs. Trace how color names become terminal colors, then expand the supported color set to all 256 available terminal colors. Done means paragraph styles can use every terminal color rather than only the current eight.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.