microsoft / microsoft/terminal
Cursor width should respect dpi settings
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### 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

Contributor guide
Research direction
The payload names no source file or test. Reproduce the bar cursor on a 200% scale display, then trace the cursor rendering path; done means its width respects DPI settings and appears as 2px at 200% scale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100