mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-05 07:15:30 -04:00
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.
This commit is contained in:
parent
f9a43209f2
commit
adbf036053
3 changed files with 25 additions and 9 deletions
|
|
@ -62,6 +62,8 @@
|
|||
* High CPU usage when holding down e.g. arrow keys while in scrollback
|
||||
search mode.
|
||||
* Rendering of composed characters in the scrollback search box.
|
||||
* IME pre-edit cursor when positioned at the end of the pre-edit
|
||||
string.
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue