git: mail(1): Catch SIGWINCH to adapt to terminal size changes

Aaron LI aly at crater.dragonflybsd.org
Fri Dec 20 17:28:29 PST 2024


commit 9b7e606c6d5f024c71f80d805e9bda2032e0cf6b
Author: Martin Neitzel <neitzel at marshlabs.gaertner.de>
Date:   Sat Dec 2 21:43:18 2023 +0100

    mail(1): Catch SIGWINCH to adapt to terminal size changes
    
    Turn setscreensize() into a signal handler for SIGWINCH.  This
    allows users to resize their terminal and have long subject lines
    become visible in "h(eader)" listings without the need to restart
    mail(1).
    
    Submit: https://bugs.dragonflybsd.org/issues/3375

Summary of changes:
 usr.bin/mail/extern.h | 2 +-
 usr.bin/mail/main.c   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b7e606c6d5f024c71f80d805e9bda2032e0cf6b


-- 
DragonFly BSD source repository


More information about the Commits mailing list