← Back to context

Comment by arianvanp

8 hours ago

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?

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.

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

  • No I see it on a non-android device too. But it's not as egregious as most vibe-coded ascii diagrams to be fair.

    • Ah my bad! Didn't scroll down far enough. Shame. Maybe the fi ligature messed up their spacing.