Skip to content

Tmux shows rgb control sequences during resize/reconnect #4569

Closed

Description

@solace-rcampbell

This is a continuation of #4541 .

I was finally able to rebuild (from main) and retest this. I can still reproduce this failure, although the signature is not identical:

$ 11;rgb:ffff/ffff/ffff11;rgb:ffff/ffff/ffff11;rgb:ffff/ffff/ffff11;rgb:ffff/ffff/ffff11;rgb:ffff/ffff/ffff

Activity

  1. solace-rcampbell commented on Jul 30, 2025

    @solace-rcampbell
    Author

    I didn't have the server log enabled during the last reproduction, I'm now trying with server logging enabled. It took me multiple days to reproduce it last time.

  2. solace-rcampbell commented on Jul 31, 2025

    @solace-rcampbell
    Author

    log.txt.gz

    I was able to gather a server log when it happened.

  3. nicm commented on Aug 1, 2025

    @nicm
    Member

    OK I forgot that colour requests are also sent on resize. If you're trying to reproduce, you need to wait 30 seconds between resizes before it will request again.

    Please try this rgbreq.diff.txt and let me know if it helps. If it still happens, please send another server log.

  4. qgates commented on Aug 30, 2025

    @qgates

    @nicm rgbreq.diff patch doesn't appear to be in master, is it planned to be included or has this issue already been fixed on master? Seeing this issue regularly in 3.5a

  5. nicm commented on Aug 30, 2025

    @nicm
    Member

    Does it fix the problem for you?

  6. solace-rcampbell commented on Aug 30, 2025

    @solace-rcampbell
    Author

    Yes, this seems to have fixed the problem for me. Thanks.

  7. nicm commented on Sep 1, 2025

    @nicm
    Member

    I have applied this to OpenBSD now, will be in GitHub later. Thanks!

  8. reopened this on Sep 1, 2025
  9. onyto commented on Sep 14, 2025

    @onyto

    Hey @nicm, will this fix be included in an upcoming release? Although building from master solves this problem, it causes other issues, so it's not a viable solution for me.

  10. onyto commented on Sep 24, 2025

    @onyto

    For more context: I have this issue too, and it is 100% reproducible for me. It always prints 11;rgb:0c0c/0c0c/0c0c when I reattach to a tmux session, and not on resize. It only started happening after I upgraded from Debian 12 to Debian 13 (tmux 3.3a -> 3.5a). Building from master doesn't print the sequence, but instead always prints "server exited unexpectedly". Finally, downgrading to 3.3a seemed to run stable until I tried to yank a line (which highlights it) in neovim, and tmux crashes. In conclusion, all recent tmux versions are unstable for me.

  11. github-actions commented on Oct 25, 2025

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed.

  12. locked as resolved and limited conversation to collaborators on Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions