mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +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();
|
||||
|
||||
self.screen.scroll(1);
|
||||
const last = self.screen.getRow(self.rows - 1);
|
||||
for (last) |*cell| cell.char = 0;
|
||||
}
|
||||
|
||||
/// Scroll the given region up.
|
||||
|
Reference in New Issue
Block a user