From adbf036053db00ef474ae53eadae93f901a1459e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 25 Jan 2021 21:57:42 +0100 Subject: 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. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e20731e..c0ccf31b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 -- cgit v1.3