diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-08-29 10:48:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-08-29 10:48:37 +0000 |
| commit | fba9bb6853695d039913ac8cec2025f2239f22f4 (patch) | |
| tree | bb6108369c77876984f5ab968b0a0fd27ba3fe6a /utils | |
| parent | csi: disable debug logging (again) (diff) | |
render: fix hollow cursor style for "extra" cursors
When the cursor is "block style", i.e. either when the window is
focused and the cursor is block, or when unfocused and we're supposed
to draw a hollow cursor, then we need to draw it *before* compositing
the glyph.
In all other cases (i.e. beam and underline cursors), it should be
rendered after the glyph.
With the addition of "extra" cursors, the logic for determining which
type it is has become much more complex, and the single if-statement
we had was wrong (it didn't handle "extra" cursors correctly).
Fix by splitting up all the checks into multiple if-statements.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions
