diff options
Diffstat (limited to 'src/prompt.c')
| -rw-r--r-- | src/prompt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prompt.c b/src/prompt.c index afb36d67..6f24574f 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -87,6 +87,11 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *have_shortcut, } #endif + /* Workaround for enter key*/ + if (input == 10) { + input = NANO_CONTROL_M; + } + /* Check for a shortcut in the current list. */ s = get_shortcut(currmenu, &input, meta_key, func_key); |
