Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

micro does not show ASCII control characters (0x00 to 0x1F) #3163

Open
jnko opened this issue Mar 5, 2024 · 0 comments
Open

micro does not show ASCII control characters (0x00 to 0x1F) #3163

jnko opened this issue Mar 5, 2024 · 0 comments

Comments

@jnko
Copy link

jnko commented Mar 5, 2024

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  - ^-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant