git: DragonFly_RELEASE_6_4 mail(1): Catch SIGWINCH to adapt to terminal size changes
Aaron LI
aly at crater.dragonflybsd.org
Fri Dec 20 17:29:40 PST 2024
commit f9dc17ebe5bb457f52907bccb817eb8bc6a6cdf8
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/f9dc17ebe5bb457f52907bccb817eb8bc6a6cdf8
--
DragonFly BSD source repository
More information about the Commits
mailing list