aboutsummaryrefslogtreecommitdiff
path: root/scripts/randomtest
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-20 11:00:28 +0000
committerDenys Vlasenko <vda.linux@googlemail.com>2019-03-30 18:03:37 +0100
commita2fd1aaf86e2adc16101bdf95770a2783830727a (patch)
tree4e7d63d6718ce3d456ca5d8bd4171932fe793c7a /scripts/randomtest
parent0f5a7f35206668f79c18415eaa4a1fd15750dc74 (diff)
downloadbusybox-a2fd1aaf86e2adc16101bdf95770a2783830727a.tar.gz
vi: allow manual screen update if SIGWINCH isn't supported
On platforms that don't support SIGWINCH vi can be configured with FEATURE_VI_USE_SIGNALS disabled and FEATURE_VI_WIN_RESIZE enabled. This allows the user to force an update with ^L when the screen is resized. However, because the SIGWINCH handler hasn't run the virtual screen buffer won't have been updated and the display becomes corrupted. Fix this by calling new_screen() if necessary. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/randomtest')
0 files changed, 0 insertions, 0 deletions