[Bug 294250] sysutils/zellij: fix core dump on terminal close

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Apr 2026 21:14:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294250

            Bug ID: 294250
           Summary: sysutils/zellij: fix core dump on terminal close
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish@FreeBSD.org
          Reporter: ahze@ahze.net
          Assignee: ashish@FreeBSD.org
             Flags: maintainer-feedback?(ashish@FreeBSD.org)

Created attachment 269363
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269363&action=edit
zelliji terminal close coredump fix

Zellij panics on FreeBSD when the terminal is closed because .unwrap() is
called on PTY operations (unset_raw_mode, stdout write/flush) that return EIO
when the PTY master is closed.

fix: drop .unwrap() on terminal I/O in the shutdown path.

-- 
You are receiving this mail because:
You are the assignee for the bug.