logoalt Hacker News

arianvanpyesterday at 10:58 PM2 repliesview on HN

Just a heads up: I know it's cool to generate ASCII art with Claude code these Days but for some reason checks the output? Non of the diagrams in the article look correct to me. They all have spacing issues?


Replies

harshrealitytoday at 6:08 AM

Were they generated by D2? I tested naive generation without extra hints/layout settings, and its ascii charts leave a lot to be desired (including worse artifacts than that, like creating too-narrow charts and text overwriting other text that's too close). SVG output might have been much better.

wonger_today at 12:08 AM

You're probably seeing an Android bug. The default Android monospace font borks the spacing of box-drawing characters. It's been like that for several years. EDIT the same thing might happen on some niche Linux distros

show 1 reply