summaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-01 09:13:26 +0000
committerDenis Vlasenko2006-11-01 09:13:26 +0000
commit966ec7c067d7a2df5232a69c8d3d2e777347a62d (patch)
treef2a42afd8064170c72634d65f7c4a3cf580f9b01 /shell/cmdedit.c
parent31c65f24560f6980e3949a02f0b5e5e45c1a365d (diff)
downloadbusybox-966ec7c067d7a2df5232a69c8d3d2e777347a62d.zip
busybox-966ec7c067d7a2df5232a69c8d3d2e777347a62d.tar.gz
#if CONFIG_xxx -> #if ENABLE_xxx
Diffstat (limited to 'shell/cmdedit.c')
-rw-r--r--shell/cmdedit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 3f44ea0..35a8d5e 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1565,7 +1565,7 @@ prepare_to_die:
while (cursor > 0 &&!isspace(command[cursor-1]))
input_backspace();
break;
-#if CONFIG_FEATURE_COMMAND_EDITING_VI
+#if ENABLE_FEATURE_COMMAND_EDITING_VI
case 'i'|vbit:
vi_cmdmode = 0;
break;
@@ -1697,7 +1697,7 @@ prepare_to_die:
case ESC:
-#if CONFIG_FEATURE_COMMAND_EDITING_VI
+#if ENABLE_FEATURE_COMMAND_EDITING_VI
if (vi_mode) {
/* ESC: insert mode --> command mode */
vi_cmdmode = 1;
@@ -1749,7 +1749,7 @@ rewrite_line:
/* change command */
len = strlen(strcpy(command, history[cur_history]));
/* redraw and go to eol (bol, in vi */
-#if CONFIG_FEATURE_COMMAND_EDITING_VI
+#if ENABLE_FEATURE_COMMAND_EDITING_VI
redraw(cmdedit_y, vi_mode ? 9999:0);
#else
redraw(cmdedit_y, 0);
@@ -1797,7 +1797,7 @@ rewrite_line:
} else
#endif
{
-#if CONFIG_FEATURE_COMMAND_EDITING_VI
+#if ENABLE_FEATURE_COMMAND_EDITING_VI
if (vi_cmdmode) /* don't self-insert */
break;
#endif