4 ms·
Nicely done! Glad to see the explicit shout-out to https://github.com/kroitor/asciichart https://github.com/kroitor/asciichart FYI, the original calls itself A
by fluxsauce 8y ago
Nicely done! Glad to see the explicit shout-out to https://github.com/kroitor/asciichart https://github.com/kroitor/asciichart
FYI, the original calls itself ASCII chart because it limits itself to ASCII - https://en.wikipedia.org/wiki/ASCII https://en.wikipedia.org/wiki/ASCII
However, the curved shapes are from https://en.wikipedia.org/wiki/Code_page_866 https://en.wikipedia.org/wiki/Code_page_866 which originated from the USSR and was used in DOS and OS/2 to write Cyrillic script.
I honestly didn't know until I searched for it; I was curious and didn't recognize the characters.
- jwilk 8y ago> curved shapes are from https://en.wikipedia.org/wiki/Code_page_866 https://en.wikipedia.org/wiki/Code_page_866 No? Even this very Wikipedia article says CP866 inherited the box-drawing characters from CP437 (and I bet that wasn't the first character set that had them).
- fluxsauce 8y agoGood point, but I was specifically talking about the ╭ ╮ ╯ ╰ characters; those were added in 866, and they're not included in https://en.wikipedia.org/wiki/Box-drawing_character#DOS https://en.wikipedia.org/wiki/Box-drawing_character#DOS or https://en.wikipedia.org/wiki/Code_page_437 https://en.wikipedia.org/wiki/Code_page_437
- noximo 8y agoThanks. I'm using the same characters that the original uses. Pretty much ctrl+c ctrl+v them into my code :)