Commit a620e683 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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-d3aeb78583b8
No related merge requests found
Showing with 9 additions and 8 deletions
+9 -8
......@@ -2428,17 +2428,18 @@ void do_verbatim_input(void)
* inserted verbatim. */
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. */
kbinput = get_verbatim_kbinput(edit, &kbinput_len);
/* Blank the statusbar. */
blank_statusbar();
wnoutrefresh(bottomwin);
/* 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();
wnoutrefresh(bottomwin);
}
/* Display all the verbatim characters at once, not filtering out
* control characters. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment