Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
charcircuit
4mo ago
0 comments
Share
The terminal emulator knows what font is being used so it should be possible to predict it.
undefined | Better HN
0 comments
default
newest
oldest
kevin_thibedeau
4mo ago
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.
j
/
k
navigate · click thread line to collapse