mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-10 04:27:45 -05:00
fix crash on cursor refresh
This commit is contained in:
parent
4a0c7d6f0b
commit
19e8dad788
1 changed files with 1 additions and 2 deletions
|
|
@ -525,8 +525,7 @@ cursor_refresh(struct terminal *term)
|
|||
return;
|
||||
|
||||
if(term->vimode.active) {
|
||||
struct row *const row =
|
||||
grid_row_in_view(term->grid, term->vimode.cursor.row);
|
||||
struct row *const row = grid_row(term->grid, term->vimode.cursor.row);
|
||||
row->cells[term->vimode.cursor.col].attrs.clean = 0;
|
||||
row->dirty = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue