aboutsummaryrefslogtreecommitdiff
path: root/spawn.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-25 09:00:43 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:46:50 +0000
commitf9a43209f2481cf31fe39c08fdfa7ce27cbfcab2 (patch)
tree68651a3b25ba3c6257949d450687d5e4f42a16f3 /spawn.h
parentchangelog: high cpu usage while holding down e.g. arrow keys in search mode (diff)
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.
Diffstat (limited to 'spawn.h')
0 files changed, 0 insertions, 0 deletions