You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to draw with normal width font under western locales doubles space.
┌───────┬─────────┐
│ │ │
│ │ │
└───────┴─────────┤
indent is with spaces, ts=1
There are two spaces produced for each horizontal line above. I know from where likely it came:
VSC with Asia locales (using a mostly wide glyphs font) probably adjust the display, but VSC with western locales does not.
For now it would be good to have a knob to say "boxdraw.use.single": "yes" somewhere
and have boxdraw emit a single space per single horizontal line above, if set.
IMO this is not a source of the problem. Frame drawing glyphs in unicode (and fonts) are all "narrow", and how many bytes a codepoint is written with has no correlation to the glyph being wide, half-width, or narrow.
Thanks!
The text was updated successfully, but these errors were encountered:
Trying to draw with normal width font under western locales doubles space.
There are two spaces produced for each horizontal line above. I know from where likely it came:
VSC with Asia locales (using a mostly wide glyphs font) probably adjust the display, but VSC with western locales does not.
For now it would be good to have a knob to say "boxdraw.use.single": "yes" somewhere
and have boxdraw emit a single space per single horizontal line above, if set.
IMO this is not a source of the problem. Frame drawing glyphs in unicode (and fonts) are all "narrow", and how many bytes a codepoint is written with has no correlation to the glyph being wide, half-width, or narrow.
Thanks!
The text was updated successfully, but these errors were encountered: