Making the cursor visible again after a justification and after an

unrecognized escape sequence.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5667 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2016-02-22 17:15:28 +00:00
parent 27e1e83e8c
commit e085ebb872
3 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,9 @@
* src/prompt.c (do_statusbar_output): Elide a variable.
* src/prompt.c (do_statusbar_delete): There is no need for nulling:
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.
2016-02-21 Benno Schulenberg <bensberg@justemail.net>
* src/files.c (input_tab): If the first Tab added the part that all

View File

@ -2234,6 +2234,7 @@ void do_justify(bool full_justify)
do {
#endif
statusbar(_("Can now UnJustify!"));
curs_set(1);
kbinput = do_input(FALSE);
#ifndef NANO_TINY
} while (kbinput == KEY_WINCH);

View File

@ -1123,6 +1123,7 @@ int parse_escape_sequence(WINDOW *win, int kbinput)
if (retval == ERR) {
if (win == edit) {
statusbar(_("Unknown Command"));
curs_set(1);
beep();
}
}