micro-editor / micro-editor/micro
micro does not show ASCII control characters (0x00 to 0x1F)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
micro does not show ASCII control characters (0x00 to 0x1F)
I've had a lot of "fun" finding a configuration file syntax error and it turned out that the file contained accidentally an ASCII control character (0x00 to 0x1F) which micro simply ignores to display.
Instead of ignoring those unprintable characters micro should show them like "^CHAR"
0x00 - ^@
0x01 - ^A
0x02 - ^B
...
0x1B - ^[
0x1C - ^\
0x1D - ^]
0x1E - ^^
0x1F - ^-
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
No file or test is named. Start by locating the terminal rendering path for non-printable characters and check how bytes in the 0x00–0x1F range are currently handled. Done means these characters are visible using the stated caret notation rather than being ignored.
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