softhyphen not shown #4961
Labels
area/addon/canvas
area/addon/webgl
area/renderer-dom
type/enhancement
Features or improvements to existing features
Softhyphens have no screen repr in xterm.js.
Repro:
node -e "console.log('### Soft\xadhy\xadphen is awk\xadward in ter\xadmi\xadnals. ###')"
VTE/gnome-terminal has the same issue:
Others like konsole and kitty strip it from grid progression:
Contour does something funny, it tries to keep the grid progression intact by moving follow-up chars to the left with creating bigger spaces in between:
Last but not least most older TEs like xterm, aterm and rxvt show a smaller dash inplace, thus have a visual repr and keep the grid progression intact (note the difference to the normal minus dash in the second line):
To me the last group makes the most sense, we could mimick that by using
\u2010
as visual char for it:For a stronger emphasis on the difference to a normal dash, we could also use
\uff65
:For ref, also see: https://en.wikipedia.org/wiki/Hyphen#Unicode
The text was updated successfully, but these errors were encountered: