render: ensure an underline cursor is not positioned too low

The underline cursor is positioned just below regular underlines. A
bug in the positioning logic related to this, sometimes resulted in
the cursor being thinner than what it should be, or even invisible.

Fixes #1005
This commit is contained in:
Daniel Eklöf 2022-04-05 19:18:46 +02:00
parent 49ba16da25
commit 5ce1589c60
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 24 additions and 19 deletions

View file

@ -93,6 +93,9 @@
(https://codeberg.org/dnkl/foot/issues/963).
* Key presses with e.g. `AltGr` triggering key combinations with the
base symbol (https://codeberg.org/dnkl/foot/issues/983).
* Underline cursor sometimes being positioned too low, either making
it look thinner than what it should be, or being completely
invisible (https://codeberg.org/dnkl/foot/issues/1005).
### Security