From b992a448b14bd80848570c500e3a134ca68090bc Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 18 Nov 2021 14:31:52 +0900 Subject: [PATCH] screen_linefeed: add missing MOVE_OVERLAY_LINE_WITH_CURSOR fixes ibus positioning problem when shell outputs text with pre-edit overlay open as per suggestion in this comment: https://github.com/kovidgoyal/kitty/issues/1000#issuecomment-972550266 --- kitty/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/screen.c b/kitty/screen.c index 67504027b..726133457 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -1344,6 +1344,7 @@ screen_carriage_return(Screen *self) { void screen_linefeed(Screen *self) { + MOVE_OVERLAY_LINE_WITH_CURSOR; bool in_margins = cursor_within_margins(self); screen_index(self); if (self->modes.mLNM) screen_carriage_return(self);