Allow color fields to refer back to the active color scheme (like "cursorColor = yellow")

Open
#7,522 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
cli

Research direction

Start by tracing how cursorColor and active color schemes are represented in the Windows Terminal repository. Confirm how color values are currently parsed and document the expected behavior for named colors and the #rgb versus #rrggbb forms; the issue is done when cursorColor can refer to the active scheme as requested and the format behavior is clear.

Written by the indexing model from the issue text.

Description

Area-Settings Issue-Task Product-Terminal

I can't do this

"cursorColor": "yellow"

AFAICT, to get a "yellow" cursor I must (look up and) hard code the "yellow" value from the current theme.

Is there a better way? If not I suggest that you allow color names for "cursorColor"

And what's the difference between "#rgb" and "#rrggbb"?

Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/terminal

All issues in microsoft/terminal

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.