Open egasimus opened 2 months ago
That does look cool, and I am curious about it 🧐. I don't think I would make it a default, but we can probably add a command switch for it
I have just added a braille mode, which can be activated with -b
or --braille
.
Your JS implementation was very useful. Thanks! 🙂 I have just changed 2 characters that were confusing as they were very similar to the cursor.
It's on the main
branch if you want to try it.
It will be in the 0.8
release, but there is quite a bit of work I plan to do before the next release.
I have also added -B
as an option to do braille dump for values 0x80 and above.
I am pondering making it the default, since it does give a bit more information, and isn't too distracting like the emojis of the values below 0x10.
Freakin' awesome! :grin:
"Braille dump" is a way of representing non-alphanumeric characters using distinct Unicode symbols. See this for example and rationale: https://justine.lol/braille/
I'm not able to provide a pull request at the moment, but if you're interested in implementing this feature, you're welcome to copy the charset from my JS implementation: https://github.com/hackbg/toolbox/blob/main/dump/dump.ts#L10 :slightly_smiling_face: