From: David Lawrence Ramsey Date: Sat, 27 May 2006 18:19:03 +0000 (+0000) Subject: don't blank the statusbar after getting verbatim input if constant X-Git-Tag: v1.3.12~93 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a620e683e7e5a46aff92fa3b68dbbdf6f4622ab4;p=nano.git 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 --- diff --git a/src/text.c b/src/text.c index 5ebeb9b2..4bf2a9a9 100644 --- a/src/text.c +++ b/src/text.c @@ -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. */