commit 79e3eaf73c0d8ff77800c0bb9ecd01d93ad48a89
parent 9106cc8ecce87ebdd01a330b0e1e4eedb8e5d2b8
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 21 Jun 2016 16:10:16 +0200
linter: refresh the edit window in order to actually place the cursor
This fixes https://savannah.gnu.org/bugs/?48283.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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);