micro-editor / micro-editor/micro

Wrong Powershell colors after closing micro

Open
#1,240 0 comments 1 reaction 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

When closing micro in powershell and doing ls a few times or running any other command that generates output, you get weird black background color and white text. Running clear or cls after closing micro refreshes powershell and everything works as expected again.

I have seen that this issue is mentioned in the following issues: https://github.com/zyedidia/micro/issues/81, https://github.com/zyedidia/micro/issues/288 , but there it says that it is solved. I am still noticing this issue in version 1.4.1.

Commit hash: 1856891
OS: Windows 10 x64 Pro
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

Reproduce the report on Windows 10 in PowerShell with micro 1.4.1, then review the linked issues about terminal colors and the behavior when micro exits. Done means subsequent commands no longer produce a black background and white text, without requiring clear or cls; the report names no source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, powershell
Domain
cli, operating-systems
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.