diff options
author | Ron Yorston <rmy@pobox.com> | 2023-03-05 12:31:30 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-03-05 12:31:30 +0000 |
commit | f52c2004b818ac739ec886d5ff0a87734b55d293 (patch) | |
tree | e68d21ec6e1673e458d1e5b3827c08af146cd14a /arch | |
parent | 76d3eafb4c28bc6579baff917ffe7726acf6817a (diff) | |
download | busybox-w32-f52c2004b818ac739ec886d5ff0a87734b55d293.tar.gz busybox-w32-f52c2004b818ac739ec886d5ff0a87734b55d293.tar.bz2 busybox-w32-f52c2004b818ac739ec886d5ff0a87734b55d293.zip |
win32: changes to console mode handling
Add the environment variable BB_TERMINAL_MODE as a more general way
of controlling console/terminal mode setting. The default remains
unchanged: use virtual terminal mode for output if possible but
fall back to the console API with emulated ANSI escape sequences.
Currently valid settings are:
0 Force use of console mode
1 Force use of virtual terminal mode for output
5 Prefer virtual terminal mode for output, fall back to console
Other values won't do anything useful until code elsewhere has been
updated.
BB_SKIP_ANSI_EMULATION remains available for backwards compatibility.
If both variables are set BB_TERMINAL_MODE takes precedence.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions