microsoft/Terminal

Cursor width should respect dpi settings

Aperta

#16.228 aperta il 25 ott 2023

 (2 commenti) (0 reazioni) (0 assegnatari)C++ (9275 fork)batch import
Area-AtlasEngineArea-TerminalControlHelp WantedIssue-BugPriority-3Product-Terminal

Metriche repository

Star
 (103.173 stelle)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

Windows Terminal version

1.18.2822.0

Windows build number

10.0.22621.0

Other Software

None

Steps to reproduce

Set display scale to 200% and use the bar cursor.

Expected Behavior

Cursor width should respect dpi settings.

Actual Behavior

On 200% scale monitor, drawing the bar shape cursor use native 1px, not 1 logical pixel (2px). This makes it a little hard to locate, especially in light theme.

screenshots: terminal, WinUI control, browser

screenshots

Guida contributor