[Bug 297329] sysutils/tmux: tmux-3.7b stray escape sequences appearing after close of tmux

[email protected] Fri, 07 Aug 2026 08:15:19 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297329

            Bug ID: 297329
           Summary: sysutils/tmux: tmux-3.7b stray escape sequences
                    appearing after close of tmux
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

The is not new to this version but exists for a longer time. 
Unfortunately it may not be reproduced deterministically but the problem exists
and is well known among some users.

When running tmux in a X11 terminal emulator like xfce4-terminal it may happen
that stray escape sequences are appearing after exiting tmux. I saw such also
in console.

To my knowledge this is caused by tmux failing to send the proper
deinitialization strings such as terminal reset (under some unknown
circumstances). Consequently, every subsequent mouse click or scroll gesture
sends raw control characters directly into the active shell prompt, rendering
them as literal text characters (escape sequences) on the screen.

As I'm not sure if the problem is special to FreeBSD or an upstream bug. If the
latter is the case the maintainer may please send them a bug report.

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