Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274309
b: refs/heads/master
c: 93072c3
h: refs/heads/master
i:
  274307: 57fa4a1
v: v3
  • Loading branch information
Cheng Renquan authored and Michal Marek committed Sep 9, 2011
1 parent bac6f57 commit be1f9dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e631a57a19e103c3bb59495b236634ec62e2a850
refs/heads/master: 93072c3ecafcf188390750cc755185f3150736b9
8 changes: 8 additions & 0 deletions trunk/scripts/kconfig/nconf.gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,14 @@ int dialog_inputbox(WINDOW *main_window,
cursor_form_win--;
}
break;
case KEY_HOME:
cursor_position = 0;
cursor_form_win = 0;
break;
case KEY_END:
cursor_position = len;
cursor_form_win = min(cursor_position, prompt_width-1);
break;
default:
if ((isgraph(res) || isspace(res))) {
/* one for new char, one for '\0' */
Expand Down

0 comments on commit be1f9dc

Please sign in to comment.