VT underline, overline, strikethrough, hyperlink are not high-DPI aware #7954
Labels
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Resolution-By-Design
It's supposed to be this way. Sometimes for compatibility reasons.
In Windows Terminal 1.4, the rendering of VT attributes such as underline, double underline, overline, crossed and hyperlinks are always 1px thick and hyperlink dashes are always 3;1 pixels regardless of the screen DPI and UI scaling factor.
This makes it very think, and the dashes of hyperlink almost invisible on high DPI displays such as the Surface Book 2 (which defaults at 200%).
It would be more consistent and more readable if the lines and dashes were also scaled according to the scaling factor or to the current font size.
See the following screenshot on Surface Book 2:
echo -e "\e[4mUnderline\e[24m \e[21mDblUL\e[24m \e[53mOverline\e[55m \e[9mCrossed\e[29m \e]8;;http://www.example.com\aHyperlink\e]8;;\a"
The text was updated successfully, but these errors were encountered: