commit 7dd1030b1580c8ca38ac4c7e9c8fdc2837d3df3a
parent e085ebb872f8ec7b9eace2811668a1204622a2ee
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 22 Feb 2016 18:34:04 +0000
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
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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 <bensberg@justemail.net>
* src/files.c (input_tab): If the first Tab added the part that all
diff --git 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);