Remix.run Logo
charcircuit 3 days ago

The terminal emulator knows what font is being used so it should be possible to predict it.

kevin_thibedeau 2 days ago | parent [-]

The terminal application doesn't know the font. The best you can do is discover ambiguous widths by printing codepoints and checking the change in cursor position. That's a suboptimal experience.