scroll is cleaning color
This commit is contained in:
parent
3dfc440d20
commit
0c3589655f
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ impl Writer {
|
|||
|
||||
for col in 0..BUFFER_COLS/2 {
|
||||
self.buffer[((BUFFER_ROWS - 1) * BUFFER_COLS) + (col * 2)] = b' ';
|
||||
self.buffer[((BUFFER_ROWS - 1) * BUFFER_COLS) + (col * 2) + 1] = 0;
|
||||
}
|
||||
|
||||
self.buffer_pos = (BUFFER_ROWS - 1) * BUFFER_COLS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue