aboutsummaryrefslogtreecommitdiff
path: root/scripts
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 18:29:55 +0000
commit8f3fcf8275d7ba9b99c94921d9415810a344f166 (patch)
treef63929b8403bd7a96aeed511815b26356aabc22d /scripts
parentMerge branch 'search-dont-scan-scrollback-on-cursor-movement' (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 'scripts')
0 files changed, 0 insertions, 0 deletions