mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
search: ad-hoc workaround for combining characters with positive x-offsets
When rendering the search input box, do the same ad-hoc workaround for combining characters with a positive x-offset as we do when rendering normal grid cells. In this case, we don’t *know* when we’re dealing with combining characters. But we can detect zero-width characters. For these, check their glyph’s x-offset. If positive, adjust it like we do when rendering combining glyphs in the main grid, to ensure the glyph is positioned over the _previous_ character, not the next.
This commit is contained in:
parent
569795a529
commit
f9a43209f2
2 changed files with 9 additions and 2 deletions
|
|
@ -61,6 +61,7 @@
|
|||
* Scrollback search not matching composed characters.
|
||||
* High CPU usage when holding down e.g. arrow keys while in scrollback
|
||||
search mode.
|
||||
* Rendering of composed characters in the scrollback search box.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue