mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Also move overlay line when handling SGR
This commit is contained in:
@@ -794,6 +794,7 @@ screen_alignment_display(Screen *self) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
select_graphic_rendition(Screen *self, int *params, unsigned int count, Region *region_) {
|
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_) {
|
if (region_) {
|
||||||
Region region = *region_;
|
Region region = *region_;
|
||||||
if (!region.top) region.top = 1;
|
if (!region.top) region.top = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user