micro-editor / micro-editor/micro

Colorschemes not working in PowerShell

Open
#1,589 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Despite true color support in PowerShell the colorschemes aren't even looking close to what they should. They mostly only show 3 different colors.

256 color in PowerShell:

Capture1

True color (part of the 16 million printed):

Capture4

Env variables MICRO_TRUECOLOR=1 and COLORTERM=truecolor:

Capture2

How it looks in micro:

Capture3

Specifications

Commit hash: c51f849
OS: Windows 10
Terminal: PowerShell

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No source files or tests are named. Reproduce the colorscheme issue in Windows 10 PowerShell using the reported commit and the MICRO_TRUECOLOR=1 and COLORTERM=truecolor settings, then trace the terminal color handling and colorscheme rendering. Done means colorschemes display with the expected range of colors in PowerShell.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.