mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 08:47:47 +02:00
IME: Fix IME commit text and update pre-edit at the same time
Correctly update the overlay position when cursor visibility changes. Restore the overlay line only when the cursor is visible. Clear the saved overlay when drawing new pre-edit text. Also update the cursor position when screen size changes. Use four spaces to indent instead of two.
This commit is contained in:
@@ -74,8 +74,8 @@ typedef struct {
|
||||
index_type xstart, ynum, xnum;
|
||||
|
||||
struct {
|
||||
PyObject *overlay_text;
|
||||
const char *func_name;
|
||||
PyObject *overlay_text;
|
||||
const char *func_name;
|
||||
} save;
|
||||
} OverlayLine;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user