From 75afe7cd3374a71a6bf8a9a98bd84f88f896112c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 12 Nov 2021 19:56:44 +0530 Subject: [PATCH] Also move overlay line when handling SGR --- kitty/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/screen.c b/kitty/screen.c index abbf154dc..3cbf73140 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -794,6 +794,7 @@ screen_alignment_display(Screen *self) { void select_graphic_rendition(Screen *self, int *params, unsigned int count, Region *region_) { + MOVE_OVERLAY_LINE_WITH_CURSOR; // needed in case colors have changed if (region_) { Region region = *region_; if (!region.top) region.top = 1;