diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 7e408207c..b25386bc0 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -294,7 +294,12 @@ static void redraw(int y, int back_cursor) /* Delete the char in front of the cursor, optionally saving it * for later putback */ +#if !ENABLE_FEATURE_EDITING_VI +static void input_delete(void) +#define input_delete(save) input_delete() +#else static void input_delete(int save) +#endif { int j = cursor; |