diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-25 09:00:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 18:29:55 +0000 |
| commit | 8f3fcf8275d7ba9b99c94921d9415810a344f166 (patch) | |
| tree | f63929b8403bd7a96aeed511815b26356aabc22d /debug.c | |
| parent | Merge 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 'debug.c')
0 files changed, 0 insertions, 0 deletions
