aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-02-06 16:35:50 +0000
committerRon Yorston <rmy@pobox.com>2020-02-06 16:35:50 +0000
commit87bc3fa0843f308a1b9175b8ae57c03f67a9116e (patch)
tree1af52269a1f36bfa179304d5a3c8fc44d8940457 /libbb
parent092ef6dbc4b7feed34fca061612bfc91d7ceb093 (diff)
downloadbusybox-w32-87bc3fa0843f308a1b9175b8ae57c03f67a9116e.tar.gz
busybox-w32-87bc3fa0843f308a1b9175b8ae57c03f67a9116e.tar.bz2
busybox-w32-87bc3fa0843f308a1b9175b8ae57c03f67a9116e.zip
winansi: fix alternate screen buffer in Windows 7
Closing 'vi' in Windows 7 resulted in the console window failing to echo any output correctly until the 'reset' builtin was run. This didn't happen in Windows XP, 8 or 10. The problem is fixed by only duplicating the console handle when switching *to* the alternate screen buffer. Add sanity checks so that switching to the alternate buffer requires the cached handled to be invalid, while it must be valid when switching from the alternate buffer.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions