aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 742067216..d78c6e828 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2340,9 +2340,9 @@ static void change_realtime(const char *) FAST_FUNC;
2340 2340
2341#if ENABLE_PLATFORM_MINGW32 2341#if ENABLE_PLATFORM_MINGW32
2342static void FAST_FUNC 2342static void FAST_FUNC
2343change_skip_ansi(const char *newval UNUSED_PARAM) 2343change_terminal_mode(const char *newval UNUSED_PARAM)
2344{ 2344{
2345 skip_ansi_emulation(TRUE); 2345 terminal_mode(TRUE);
2346} 2346}
2347 2347
2348# define LINENO_INDEX (5 + 2 * ENABLE_ASH_MAIL + ENABLE_ASH_GETOPTS) 2348# define LINENO_INDEX (5 + 2 * ENABLE_ASH_MAIL + ENABLE_ASH_GETOPTS)
@@ -2387,7 +2387,8 @@ static const struct {
2387 { VSTRFIXED|VTEXTFIXED|VUNSET, "HISTFILE" , NULL }, 2387 { VSTRFIXED|VTEXTFIXED|VUNSET, "HISTFILE" , NULL },
2388#endif 2388#endif
2389#if ENABLE_PLATFORM_MINGW32 2389#if ENABLE_PLATFORM_MINGW32
2390 { VSTRFIXED|VTEXTFIXED|VUNSET, BB_SKIP_ANSI_EMULATION, change_skip_ansi }, 2390 { VSTRFIXED|VTEXTFIXED|VUNSET, BB_SKIP_ANSI_EMULATION, change_terminal_mode },
2391 { VSTRFIXED|VTEXTFIXED|VUNSET, BB_TERMINAL_MODE, change_terminal_mode },
2391#endif 2392#endif
2392}; 2393};
2393 2394
@@ -14603,7 +14604,7 @@ cmdloop(int top)
14603 inter++; 14604 inter++;
14604 chkmail(); 14605 chkmail();
14605#if ENABLE_PLATFORM_MINGW32 14606#if ENABLE_PLATFORM_MINGW32
14606 skip_ansi_emulation(TRUE); 14607 terminal_mode(TRUE);
14607#endif 14608#endif
14608 } 14609 }
14609 n = parsecmd(inter); 14610 n = parsecmd(inter);