aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-01-08 09:42:49 +0000
committerRon Yorston <rmy@pobox.com>2020-01-08 09:42:49 +0000
commitb0b7ab792bc1f45963f4b84b94faaf05054e1613 (patch)
treef0cf356438a7ac9f78bdfd1918ee5fc45c8b543f /libbb
parent98b794afbc510633066f32c6d91356078c229dbe (diff)
downloadbusybox-w32-b0b7ab792bc1f45963f4b84b94faaf05054e1613.tar.gz
busybox-w32-b0b7ab792bc1f45963f4b84b94faaf05054e1613.tar.bz2
busybox-w32-b0b7ab792bc1f45963f4b84b94faaf05054e1613.zip
winansi: code shrink
Rework the ANSI emulation code to reduce its size. - Fetch console attributes when required rather than caching them. The init() function is no longer required; the only remaining initialisation is now performed in is_console(). - Turning off inverse video (ESC[27m) didn't work properly. This has been improved though it still doesn't work in some unlikely cases (ESC[7;27m). These changes save 180 bytes.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions