aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/kconfig/nconf.c6
-rw-r--r--scripts/kconfig/nconf.gui.c8
2 files changed, 8 insertions, 6 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index d945de5c43ac..1704a8562a5d 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -83,10 +83,10 @@ static const char nconf_readme[] = N_(
83"Text Box (Help Window)\n" 83"Text Box (Help Window)\n"
84"--------\n" 84"--------\n"
85"o Use the cursor keys to scroll up/down/left/right. The VI editor\n" 85"o Use the cursor keys to scroll up/down/left/right. The VI editor\n"
86" keys h,j,k,l function here as do <SPACE BAR> for those\n" 86" keys h,j,k,l function here as do <u>, <d> and <SPACE BAR> for\n"
87" who are familiar with less and lynx.\n" 87" those who are familiar with less and lynx.\n"
88"\n" 88"\n"
89"o Press <Enter>, <F1>, <F5>, <F7> or <Esc> to exit.\n" 89"o Press <Enter>, <F1>, <F5>, <F9>, <q> or <Esc> to exit.\n"
90"\n" 90"\n"
91"\n" 91"\n"
92"Alternate Configuration Files\n" 92"Alternate Configuration Files\n"
diff --git a/scripts/kconfig/nconf.gui.c b/scripts/kconfig/nconf.gui.c
index 3b18dd839668..379003c7a2b4 100644
--- a/scripts/kconfig/nconf.gui.c
+++ b/scripts/kconfig/nconf.gui.c
@@ -604,9 +604,11 @@ void show_scroll_win(WINDOW *main_window,
604 switch (res) { 604 switch (res) {
605 case KEY_NPAGE: 605 case KEY_NPAGE:
606 case ' ': 606 case ' ':
607 case 'd':
607 start_y += text_lines-2; 608 start_y += text_lines-2;
608 break; 609 break;
609 case KEY_PPAGE: 610 case KEY_PPAGE:
611 case 'u':
610 start_y -= text_lines+2; 612 start_y -= text_lines+2;
611 break; 613 break;
612 case KEY_HOME: 614 case KEY_HOME:
@@ -632,10 +634,10 @@ void show_scroll_win(WINDOW *main_window,
632 start_x++; 634 start_x++;
633 break; 635 break;
634 } 636 }
635 if (res == 10 || res == 27 || res == 'q' 637 if (res == 10 || res == 27 || res == 'q' ||
636 || res == KEY_F(F_BACK) || res == KEY_F(F_EXIT)) { 638 res == KEY_F(F_HELP) || res == KEY_F(F_BACK) ||
639 res == KEY_F(F_EXIT))
637 break; 640 break;
638 }
639 if (start_y < 0) 641 if (start_y < 0)
640 start_y = 0; 642 start_y = 0;
641 if (start_y >= total_lines-text_lines) 643 if (start_y >= total_lines-text_lines)