Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
charcircuit
7mo ago
0 comments
Save
Share
The terminal emulator knows what font is being used so it should be possible to predict it.
0 comments
1 comments · 1 top-level
top
newest
oldest
kevin_thibedeau
7mo 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