From: David Lawrence Ramsey Date: Wed, 24 May 2006 20:39:03 +0000 (+0000) Subject: fix more breakage X-Git-Tag: v1.3.12~120 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0b65402b60743ff3d4520d96c27a5621368d98e7;p=nano.git fix more breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3560 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/prompt.c b/src/prompt.c index 5f5430c7..e56af430 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -82,11 +82,12 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *s_or_t, /* If we got a shortcut from the current list, or a "universal" * statusbar prompt shortcut, set have_shortcut to TRUE. */ - have_shortcut = (s != NULL || input == NANO_ENTER_KEY || input == - NANO_REFRESH_KEY || input == NANO_HOME_KEY || input == - NANO_END_KEY || input == NANO_BACK_KEY || input == - NANO_FORWARD_KEY || input == NANO_BACKSPACE_KEY || input == - NANO_DELETE_KEY || input == NANO_CUT_KEY || + have_shortcut = (s != NULL || input == NANO_TAB_KEY || input == + NANO_ENTER_KEY || input == NANO_REFRESH_KEY || input == + NANO_HOME_KEY || input == NANO_END_KEY || input == + NANO_BACK_KEY || input == NANO_FORWARD_KEY || input == + NANO_BACKSPACE_KEY || input == NANO_DELETE_KEY || input == + NANO_CUT_KEY || #ifndef NANO_TINY input == NANO_NEXTWORD_KEY || #endif @@ -158,6 +159,7 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *s_or_t, if (have_shortcut) { switch (input) { /* Handle the "universal" statusbar prompt shortcuts. */ + case NANO_TAB_KEY: case NANO_ENTER_KEY: break; case NANO_REFRESH_KEY: