term: restore_cursor: restore lcf flag

This commit is contained in:
Daniel Eklöf 2019-11-17 09:46:30 +01:00
parent a70fe1f5d7
commit 36bcb0dac1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1207,6 +1207,7 @@ term_restore_cursor(struct terminal *term)
int row = min(term->saved_cursor.point.row, term->rows - 1);
int col = min(term->saved_cursor.point.col, term->cols - 1);
term_cursor_to(term, row, col);
term->cursor.lcf = term->saved_cursor.lcf;
}
void