vt: DECALN: render at bottom of terminal, not in view

This commit is contained in:
Daniel Eklöf 2019-11-14 11:08:49 +01:00
parent f6d87e235b
commit 35c56765a4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
vt.c
View file

@ -722,7 +722,7 @@ esc_dispatch(struct terminal *term, uint8_t final)
switch (final) {
case '8':
for (int r = 0; r < term->rows; r++) {
struct row *row = grid_row_in_view(term->grid, r);
struct row *row = grid_row(term->grid, r);
for (int c = 0; c < term->cols; c++) {
row->cells[c].wc = L'E';
row->cells[c].attrs.clean = 0;