HomeFreeBSD

script: handle terminal resize on SIGWINCH

Description

script: handle terminal resize on SIGWINCH

Add a -w flag to forward terminal resize events on to the child, which
can be useful in some circumstances to avoid terminal corruption.

Reviewed by: des
Co-authored-by: Xavier Beaudouin <xavier.beaudouin@klarasystems.com>
Sponsored by: Modirum MDPay
Sponsored by: Klara, Inc.

(cherry picked from commit 8ceac8e13dccbe4e177c8f2f443b87b7d2e3edb3)

Details

Provenance
kevansAuthored on Apr 26 2024, 4:12 PM
Parents
rG2a2cc22f517b: script: minor style improvements
Branches
Unknown
Tags
Unknown