don't blank the statusbar after getting verbatim input if constant
cursor position display is on git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3587 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
100bc30d63
commit
a620e683e7
13
src/text.c
13
src/text.c
|
@ -2428,17 +2428,18 @@ void do_verbatim_input(void)
|
||||||
* inserted verbatim. */
|
* inserted verbatim. */
|
||||||
statusbar(_("Verbatim Input"));
|
statusbar(_("Verbatim Input"));
|
||||||
|
|
||||||
/* If constant cursor position display is on, make sure the current
|
|
||||||
* cursor position will be properly displayed on the statusbar. */
|
|
||||||
if (ISSET(CONST_UPDATE))
|
|
||||||
do_cursorpos(TRUE);
|
|
||||||
|
|
||||||
/* Read in all the verbatim characters. */
|
/* Read in all the verbatim characters. */
|
||||||
kbinput = get_verbatim_kbinput(edit, &kbinput_len);
|
kbinput = get_verbatim_kbinput(edit, &kbinput_len);
|
||||||
|
|
||||||
/* Blank the statusbar. */
|
/* If constant cursor position display is on, make sure the current
|
||||||
|
* cursor position will be properly displayed on the statusbar.
|
||||||
|
* Otherwise, blank the statusbar. */
|
||||||
|
if (ISSET(CONST_UPDATE))
|
||||||
|
do_cursorpos(TRUE);
|
||||||
|
else {
|
||||||
blank_statusbar();
|
blank_statusbar();
|
||||||
wnoutrefresh(bottomwin);
|
wnoutrefresh(bottomwin);
|
||||||
|
}
|
||||||
|
|
||||||
/* Display all the verbatim characters at once, not filtering out
|
/* Display all the verbatim characters at once, not filtering out
|
||||||
* control characters. */
|
* control characters. */
|
||||||
|
|
Loading…
Reference in New Issue