From 36bcb0dac19441f6f4dfee4892488b3518fcf566 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 17 Nov 2019 09:46:30 +0100 Subject: term: restore_cursor: restore lcf flag --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index def18b2f..f50a2065 100644 --- a/terminal.c +++ b/terminal.c @@ -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 -- cgit v1.3