summaryrefslogtreecommitdiff
path: root/kconfig/nconf.c
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-12-09 09:22:43 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-02-02 07:06:32 (GMT)
commitd057ba5324a082ba28d3b81f90405fae860bb376 (patch)
tree9f4ccaa778897d99e517878a206e99252d03b15b /kconfig/nconf.c
parent21095fab6712d3a082936b14b93cb6ff29c02872 (diff)
kconfig: Sync with upstream v5.1
This commit introduces the following upstream changes: 9c38f1f04408 kconfig/[mn]conf: handle backspace (^H) key c71bb9f86666 kconfig: remove stale lxdialog/.gitignore 8741908b3e29 kconfig: fix 'Save As' menu of xconfig 058507195b53 kbuild: move ".config not found!" message from Kconfig to Makefile 769a1c022678 kconfig: rename zconf.y to parser.y 981e545a698a kconfig: rename zconf.l to lexer.l Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'kconfig/nconf.c')
-rw-r--r--kconfig/nconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfig/nconf.c b/kconfig/nconf.c
index fb6027a..96a6bac 100644
--- a/kconfig/nconf.c
+++ b/kconfig/nconf.c
@@ -1051,7 +1051,7 @@ static int do_match(int key, struct match_state *state, int *ans)
state->match_direction = FIND_NEXT_MATCH_UP;
*ans = get_mext_match(state->pattern,
state->match_direction);
- } else if (key == KEY_BACKSPACE || key == 127) {
+ } else if (key == KEY_BACKSPACE || key == 8 || key == 127) {
state->pattern[strlen(state->pattern)-1] = '\0';
adj_match_dir(&state->match_direction);
} else