mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
clear the last line when we scroll up
This commit is contained in:
@ -517,6 +517,8 @@ pub fn scrollUp(self: *Terminal) void {
|
|||||||
defer tracy.end();
|
defer tracy.end();
|
||||||
|
|
||||||
self.screen.scroll(1);
|
self.screen.scroll(1);
|
||||||
|
const last = self.screen.getRow(self.rows - 1);
|
||||||
|
for (last) |*cell| cell.char = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Scroll the given region up.
|
/// Scroll the given region up.
|
||||||
|
Reference in New Issue
Block a user