diff options
author | Ron Yorston <rmy@pobox.com> | 2023-03-07 12:49:25 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-03-07 12:49:25 +0000 |
commit | 6eeb5240974bb304830319e9fa5afbc4d6194fc0 (patch) | |
tree | 5ea53ff34648ff615c00f1f8596b82b645324a10 /Config.in | |
parent | b50470de96320425adbed82129bdb7f7f5263ddb (diff) | |
download | busybox-w32-6eeb5240974bb304830319e9fa5afbc4d6194fc0.tar.gz busybox-w32-6eeb5240974bb304830319e9fa5afbc4d6194fc0.tar.bz2 busybox-w32-6eeb5240974bb304830319e9fa5afbc4d6194fc0.zip |
win32: more changes to console/terminal modes
Allowing virtual terminal input mode to be set if available proved
to be unhelpful: cmd.exe doesn't understand such newfangled stuff
(though PowerShell does).
The allowed values of BB_TERMINAL_MODE are changed to:
0 Force console mode.
1 Force virtual terminal mode for output.
2 Force virtual terminal mode for input.
3 Force virtual terminal mode for input and output.
4 Support virtual terminal input if enabled. Don't alter mode.
5 Support virtual terminal input if enabled. Set virtual terminal
mode for output, if possible.
The default is 5.
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 25 |
1 files changed, 12 insertions, 13 deletions
@@ -458,24 +458,23 @@ config FEATURE_EURO | |||
458 | config TERMINAL_MODE | 458 | config TERMINAL_MODE |
459 | int "Default setting for terminal mode" | 459 | int "Default setting for terminal mode" |
460 | default 5 | 460 | default 5 |
461 | range 0 7 | 461 | range 0 5 |
462 | depends on PLATFORM_MINGW32 | 462 | depends on PLATFORM_MINGW32 |
463 | help | 463 | help |
464 | Control I/O mode of the Windows console/terminal. Possible | 464 | Set the default input/output modes of the Windows console/terminal. |
465 | values are: | 465 | Possible values are: |
466 | 466 | ||
467 | 0 Console mode. | 467 | 0 Force console mode. |
468 | 1 Force terminal mode output. | 468 | 1 Force virtual terminal mode for output. |
469 | 2 Force terminal mode input. | 469 | 2 Force virtual terminal mode for input. |
470 | 3 Force terminal mode input and output. | 470 | 3 Force virtual terminal mode for input and output. |
471 | 471 | ||
472 | 4 Console mode. | 472 | 4 Support virtual terminal input if enabled. Don't alter mode. |
473 | 5 Prefer terminal mode output, fall back to console mode. | 473 | 5 Support virtual terminal input if enabled. Set virtual terminal |
474 | 6 Prefer terminal mode input, fall back to console mode. | 474 | mode for output, if possible. |
475 | 7 Prefer terminal mode input and output, fall back to console. | ||
476 | 475 | ||
477 | Setting the environment variable BB_TERMINAL_MODE overrides this | 476 | Values 0-3 are for testing only. The default is 5. The environment |
478 | default. | 477 | variable BB_TERMINAL_MODE overrides this. |
479 | 478 | ||
480 | config FEATURE_IMPROVED_COLOUR_MAPPING | 479 | config FEATURE_IMPROVED_COLOUR_MAPPING |
481 | bool "More accurate colour mapping for ANSI emulation (0.6 kb)" | 480 | bool "More accurate colour mapping for ANSI emulation (0.6 kb)" |