diff --git a/docs/changelog.rst b/docs/changelog.rst index d8d232854..3efcb62c2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -35,6 +35,8 @@ To update |kitty|, :doc:`follow the instructions `. - Allow passing the current selection to kittens (:iss:`2796`) +- Fix pre-edit text not always being cleared with ibus input (:iss:`2862`) + - Allow setting the :opt:`background_opacity` of new OS windows created via :option:`kitty --single-instance` using the :option:`kitty --override` command line argument (:iss:`2806`) diff --git a/kitty/keys.c b/kitty/keys.c index 4bccc3ab5..bf9e813b5 100644 --- a/kitty/keys.c +++ b/kitty/keys.c @@ -146,6 +146,7 @@ on_key_input(GLFWkeyevent *ev) { schedule_write_to_child(w->id, 1, text, strlen(text)); debug("committed pre-edit text: %s\n", text); } else debug("committed pre-edit text: (null)\n"); + screen_draw_overlay_text(screen, NULL); return; case 0: // for macOS, update ime position on every key input