mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
term: restore_cursor: restore lcf flag
This commit is contained in:
parent
a70fe1f5d7
commit
36bcb0dac1
1 changed files with 1 additions and 0 deletions
|
|
@ -1207,6 +1207,7 @@ term_restore_cursor(struct terminal *term)
|
||||||
int row = min(term->saved_cursor.point.row, term->rows - 1);
|
int row = min(term->saved_cursor.point.row, term->rows - 1);
|
||||||
int col = min(term->saved_cursor.point.col, term->cols - 1);
|
int col = min(term->saved_cursor.point.col, term->cols - 1);
|
||||||
term_cursor_to(term, row, col);
|
term_cursor_to(term, row, col);
|
||||||
|
term->cursor.lcf = term->saved_cursor.lcf;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue