resize: reset cursor sgr prior to erasing screen
Reset cursor sgr to prevent erasing the screen with some unknown background color.
This commit is contained in:
parent
7f29e9f720
commit
6b6807d9ec
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ pub fn resize(
|
||||||
try tty.writeAll(ctlseqs.ri);
|
try tty.writeAll(ctlseqs.ri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
try tty.writeAll(ctlseqs.erase_below_cursor);
|
try tty.writeAll(ctlseqs.sgr_reset ++ ctlseqs.erase_below_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// returns a Window comprising of the entire terminal screen
|
/// returns a Window comprising of the entire terminal screen
|
||||||
|
|
Loading…
Reference in a new issue