From 79e3eaf73c0d8ff77800c0bb9ecd01d93ad48a89 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 21 Jun 2016 16:10:16 +0200 Subject: [PATCH] linter: refresh the edit window in order to actually place the cursor This fixes https://savannah.gnu.org/bugs/?48283. --- src/text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index f0f611dc..ff688f42 100644 --- a/src/text.c +++ b/src/text.c @@ -3419,8 +3419,9 @@ void do_linter(void) bottombars(MLINTER); } - /* Show the cursor to indicate the affected line. */ + /* Place and show the cursor to indicate the affected line. */ reset_cursor(); + wnoutrefresh(edit); curs_set(1); kbinput = get_kbinput(bottomwin);