Commit 4ab142c0 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Call the help browser with the correct refresher for afterwards.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 12 additions and 4 deletions
+12 -4
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
* src/help.c (do_help_void) - Call the help browser with the correct
refresher for afterwards. This solves a bug reported by myself on
nano-devel in August 2010: after typing ^R ^T ^W ^G ^X, the file
being edited would get displayed instead of the list of files.
2014-02-24 Chris Allegretta <chrisa@asty.org>
* new linter functionality. rcfile option "linter"
* src/global.c (shortcut_init) - Actually free the sclist
......
......@@ -547,12 +547,14 @@ size_t help_line_len(const char *ptr)
#endif /* !DISABLE_HELP */
/* Start the help browser for the edit window. */
/* Start the help browser. */
void do_help_void(void)
{
#ifndef DISABLE_HELP
/* Start the help browser for the edit window. */
/* Start the help browser, with the correct refresher for afterwards. */
if (currmenu == MBROWSER || currmenu == MWHEREISFILE || currmenu == MGOTODIR)
do_help(&browser_refresh);
else
do_help(&edit_refresh);
#else
if (currmenu == MMAIN)
......
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