commit 3af1e5085515bff9ec3d1d8e9df5d94fdc80dcdd
parent b4428a0268bd4eec2d5181daa82634157e1ab3ec
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 24 May 2006 18:23:21 +0000
per Benno Schulenberg's patch, fix the statusbar's not blanking properly
after verbatim input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3557 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -82,14 +82,15 @@ CVS code -
resizes more consistent. Changes to handle_sigwinch(),
main(), get_kbinput(), parse_kbinput(), get_byte_kbinput(),
and get_unicode_kbinput(); removal of reset_kbinput(). (DLR)
- - Handle statusbar blanking in one place instead of many, so
+ - Handle statusbar blanking in two places instead of many, so
that it always works consistently. Changes to do_browser(),
do_cut_text(), do_uncut_text(), do_first_line(),
do_last_line(), do_page_up(), do_page_down(), do_para_begin(),
do_para_end(), do_para_end(), do_next_word(), do_prev_word(),
do_home(), do_end(), do_up(), do_scroll_up(), do_down(),
do_scroll_down(), do_left(), do_right(), do_indent_marked(),
- and get_kbinput(). (Benno Schulenberg, minor tweaks by DLR)
+ do_verbatim_input(), and get_kbinput(). (Benno Schulenberg,
+ minor tweaks by DLR)
- Handle prepending of wrapped text in one place instead of
many, so that it always works consistently. Changes to
do_uncut_text(), do_insertfile(), do_page_up(),
diff --git a/src/text.c b/src/text.c
@@ -2445,4 +2445,7 @@ void do_verbatim_input(void)
do_output(output, kbinput_len, TRUE);
free(output);
+
+ /* Blank the statusbar if we need to. */
+ check_statusblank();
}