aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-05-11 13:54:20 +0100
committerRon Yorston <rmy@pobox.com>2026-05-11 13:54:20 +0100
commitfd61ea6032ce732db6f66c335e7bfc44aa2290ff (patch)
tree85a4a9f12679ea77834d202d6477dde22e0e592f /scripts
parentcc5bbc507aeefc3c5cf67e78930ebf715324d06e (diff)
downloadbusybox-w32-fd61ea6032ce732db6f66c335e7bfc44aa2290ff.tar.gz
busybox-w32-fd61ea6032ce732db6f66c335e7bfc44aa2290ff.tar.bz2
busybox-w32-fd61ea6032ce732db6f66c335e7bfc44aa2290ff.zip
reset: add support for stty and Windows Terminal
The 'reset' applet hasn't kept pace with developments elsewhere. We now have support for 'stty sane', so the code in 'reset' which calls that can be enabled. Windows 10 and 11 have updated Terminal and Console programs, with varying features and behaviours. Add ANSI emulation code to handle clearing the scrollback buffer and use ANSI sequences in 'reset' to do that. It was also necessary to retain the explicit call to reset_screen(), or 'reset' didn't work properly in the Terminal I'd installed in Windows 10. Adds 92-128 bytes. (GitHub issue #161)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions