From: Benno Schulenberg Date: Mon, 22 Feb 2016 18:34:04 +0000 (+0000) Subject: Showing the cursor in the edit window when linting. X-Git-Tag: v2.5.3~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7dd1030b1580c8ca38ac4c7e9c8fdc2837d3df3a;p=nano.git Showing the cursor in the edit window when linting. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index ab7677d1..e96c162c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,7 +16,7 @@ the charmove() already copies the terminating null byte. * src/text.c (do_justify), src/winio.c (parse_escape_sequence): Show the cursor after a justification and after an unrecognized - escape sequence. + escape sequence, and in the edit window when linting. 2016-02-21 Benno Schulenberg * src/files.c (input_tab): If the first Tab added the part that all diff --git a/src/text.c b/src/text.c index 4523b560..5611c4aa 100644 --- a/src/text.c +++ b/src/text.c @@ -3167,6 +3167,7 @@ void do_linter(void) } /* Show the cursor to indicate the affected line. */ + reset_cursor(); curs_set(1); kbinput = get_kbinput(bottomwin);