diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-25 20:57:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 19:46:59 +0000 |
| commit | adbf036053db00ef474ae53eadae93f901a1459e (patch) | |
| tree | ca1cef8b54cdc6ae28f77c4940ab9f3d6a62826d /selection.c | |
| parent | search: ad-hoc workaround for combining characters with positive x-offsets (diff) | |
ime: fix rendering of pre-edit cursor when positioned after the pre-edit string
We failed to convert the byte-indices to cell indices, resulting in a
box cursor covering the entire pre-edit string.
Note that in addition to fixing the translation from byte index to
cell index, the rendered had to be updated to dirty one extra cell
from the original grid.
Without this, we left trailing cursors behind us when the user deleted
text from the pre-edit string.
Diffstat (limited to 'selection.c')
0 files changed, 0 insertions, 0 deletions
