micro-editor / micro-editor/micro
When 'TERM=alacritty-direct' micro takes a long time to start. Wrong background colour
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
When TERM is set to 'alacritty-direct', trying to run micro will cause it to hang for a long time (30 seconds or so). Afterwards micro does run, but the background becomes completely blue. This doesn't happen when TERM is set to 'alacritty'.
To reproduce, run the following in either alacritty or xterm.
export TERM=alacritty-direct
micro
Version: 2.0.8
Debian GNU/Linux bullseye/sid x86_64
alacritty, xterm.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with TERM=alacritty-direct and micro, then inspect the terminal startup and background-colour handling related to that TERM value. Done means micro starts without the roughly 30-second delay and displays the expected background colour, while TERM=alacritty continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100