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-d3aeb78583b8master
parent
64c00b5185
commit
4ab142c0aa
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
10
src/help.c
10
src/help.c
|
@ -547,13 +547,15 @@ 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. */
|
||||
do_help(&edit_refresh);
|
||||
/* 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)
|
||||
nano_disabled_msg();
|
||||
|
|
Loading…
Reference in New Issue