aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-02-03 13:46:19 +0000
committerRon Yorston <rmy@pobox.com>2021-02-03 13:46:19 +0000
commitab7a10870d7347056d86eed03f6aca62aaf4d083 (patch)
tree776553a397440cffa6d5b0f232593ad7113752e3 /Config.in
parentbe23fca994e1dd8b81ea49cb735834e4008839fb (diff)
downloadbusybox-w32-ab7a10870d7347056d86eed03f6aca62aaf4d083.tar.gz
busybox-w32-ab7a10870d7347056d86eed03f6aca62aaf4d083.tar.bz2
busybox-w32-ab7a10870d7347056d86eed03f6aca62aaf4d083.zip
winansi: change default 'skip ANSI emulation' setting
Change the default 'skip ANSI emulation' setting which is used when the environment variable BB_SKIP_ANSI_EMULATION is unset. Previously it was 0 (always emulate) now it's 2 (detect whether or not the terminal supports ANSI escape sequences and behave accordingly). The default value is also now a build-time option.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 2d1e9bc8b..6d91ad248 100644
--- a/Config.in
+++ b/Config.in
@@ -455,6 +455,23 @@ config FEATURE_EURO
455 requires the OEM code page to be 858. If the OEM code page of 455 requires the OEM code page to be 858. If the OEM code page of
456 the console is 850 when BusyBox starts it's changed to 858. 456 the console is 850 when BusyBox starts it's changed to 858.
457 457
458config SKIP_ANSI_EMULATION_DEFAULT
459 int "Default setting for ANSI escape sequences"
460 default 2
461 range 0 2
462 depends on PLATFORM_MINGW32
463 help
464 Control how ANSI escape sequences are handled. Possible values
465 are:
466
467 0 Always emulate escape sequences.
468 1 Always emit escape sequences.
469 2 Emit escape sequences if the terminal supports them, otherwise
470 emulate them.
471
472 Setting the environment variable BB_SKIP_ANSI_EMULATION overrides
473 this default.
474
458config FEATURE_EXTRA_FILE_DATA 475config FEATURE_EXTRA_FILE_DATA
459 bool "Read additional file metadata (2.1 kb)" 476 bool "Read additional file metadata (2.1 kb)"
460 default y 477 default y