highlight is drawn properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2800
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
have a zero-length regex. (DLR)
- Rename variable highlight_flag to highlight, for consistency.
(DLR)
+ - Call wnoutrefresh(edit) to make sure that the highlight is
+ drawn properly. (DLR)
do_credits()
- Save the keystroke that breaks us out of the credits (if any)
and put it back so that it isn't lost. This is especially
if (highlight)
wattroff(edit, A_REVERSE);
+
+ /* Refresh the edit window. */
+ wnoutrefresh(edit);
}
#ifndef NDEBUG