diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 08:46:30 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-17 08:46:30 +0000 |
| commit | 36bcb0dac19441f6f4dfee4892488b3518fcf566 (patch) | |
| tree | 1ff5429646eca905911a61e98cdaa63344face33 /terminal.c | |
| parent | term: move lcf flag into 'cursor' struct (diff) | |
term: restore_cursor: restore lcf flag
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
