diff options
author | Ron Yorston <rmy@pobox.com> | 2020-04-13 13:28:24 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-04-13 13:35:57 +0100 |
commit | c2f7974901118ff4ec004da1e71a7386b900a505 (patch) | |
tree | 4ba730efd71ff68dbea8f6232690690994f5d4f6 /shell | |
parent | 026bf90b29314486d64f93c0633dffda8ac58379 (diff) | |
download | busybox-w32-c2f7974901118ff4ec004da1e71a7386b900a505.tar.gz busybox-w32-c2f7974901118ff4ec004da1e71a7386b900a505.tar.bz2 busybox-w32-c2f7974901118ff4ec004da1e71a7386b900a505.zip |
winansi: more fine-grained control of ANSI emulation
Change the meaning of the BB_SKIP_ANSI_EMULATION variable:
- if it isn't set or if it has any value other than 1 or 2, use
ANSI emulation;
- if it's set to 1, always emit ANSI escape codes;
- if it's set to 2, attempt to enable virtual terminal processing in
the current console. If that works emit ANSI escape codes, if not
revert to ANSI emulation.
On all platforms I've tested (Windows 10, Windows 8.1, ReactOS 0.4.13,
plus ConEmu) BB_SKIP_ANSI_EMULATION=2 does the right thing.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions