microsoft/Terminal

Cursor width should respect dpi settings

開放

#16,228 建立於 2023年10月25日

 (2 則留言) (0 個反應) (0 位負責人)C++ (9,275 個分叉)batch import
Area-AtlasEngineArea-TerminalControlHelp WantedIssue-BugPriority-3Product-Terminal

倉庫指標

星標
 (103,173 顆星)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

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

貢獻者指南