- Tweak to avoid a potential problem when strp is non-NULL but
*strp is NULL. (David Benbennick)
- winio.c:
+ do_help()
+ - Get rid of keypad_on() call for bottomwin, which should not be
+ needed (DLR).
nanogetstr()
- Fix problem with search history where a temporary string
added at the bottom of the history (but which was not in the
history) would not be preserved after scrolling down to the
blank bottom entry and then scrolling back up. (DLR)
- - Add handler for Alt-[-H and F as home and end when -K is
- used. Basically a workaround until a cleaner way can be found.
+ - Handle Alt-[-F and H (DLR, fixed home and end not working with
+ -K in statusbar).
- configure.ac:
- Change the program used to detect a broken regexec() function
so that it works properly, using information found at
#endif
case NANO_HOME_KEY:
case KEY_HOME:
- do_home:
x = 0;
break;
case NANO_END_KEY:
case KEY_END:
- do_end:
x = xend;
break;
case KEY_RIGHT:
x--;
break;
case 'F':
- goto do_end;
+ x = xend;
break;
case 'H':
- goto do_home;
+ x = 0;
break;
case '1':
case '7':
int do_help(void)
{
#ifndef DISABLE_HELP
- int i, page = 0, kbinput = 0, no_more = 0, kp, kp2;
+ int i, page = 0, kbinput = 0, no_more = 0, kp;
int no_help_flag = 0;
const shortcut *oldshortcut;
currshortcut = help_list;
kp = keypad_on(edit, 1);
- kp2 = keypad_on(bottomwin, 1);
if (ISSET(NO_HELP)) {
curs_set(1);
edit_refresh();
kp = keypad_on(edit, kp);
- kp2 = keypad_on(bottomwin, kp2);
/* The help_init() at the beginning allocated help_text, which has
now been written to screen. */