From f5a6304850fd7344f72355416cfbfd69b76482c4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 23 Jul 2019 17:57:07 +0200 Subject: term: make sure to update 'current row' when restoring saved cursor --- terminal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 71d66566..94e99215 100644 --- a/terminal.h +++ b/terminal.h @@ -346,6 +346,8 @@ void term_scroll_reverse_partial( void term_linefeed(struct terminal *term); void term_reverse_index(struct terminal *term); +void term_restore_cursor(struct terminal *term); + void term_focus_in(struct terminal *term); void term_focus_out(struct terminal *term); void term_mouse_down(struct terminal *term, int button, int row, int col, -- cgit v1.3