diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-05-11 13:54:20 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-05-11 13:54:20 +0100 |
| commit | fd61ea6032ce732db6f66c335e7bfc44aa2290ff (patch) | |
| tree | 85a4a9f12679ea77834d202d6477dde22e0e592f /scripts/embedded_scripts | |
| parent | cc5bbc507aeefc3c5cf67e78930ebf715324d06e (diff) | |
| download | busybox-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/embedded_scripts')
0 files changed, 0 insertions, 0 deletions
