render: always render cursor

This commit is contained in:
Daniel Eklöf 2019-07-01 21:13:24 +02:00
parent 7e4dd2de9a
commit dfc9554e89
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 27 additions and 19 deletions

View file

@ -156,8 +156,6 @@ term_cursor_to(struct terminal *term, int row, int col)
int new_linear = row * term->cols + col;
assert(new_linear < term->rows * term->cols);
term_damage_update(term, term->cursor.linear, 1);
term_damage_update(term, new_linear, 1);
term->print_needs_wrap = false;
term->cursor.linear = new_linear;