Skip to content

tmux: display-popup support #99

@daiimus

Description

@daiimus

Summary

Support tmux's `display-popup` command, which creates an overlay popup pane.

What's needed

Zig side (Ghostty fork)

  1. Send `display-popup` command with appropriate arguments
  2. Handle the popup pane lifecycle — popup panes appear as regular panes with output, but are temporary

Swift side (Geistty)

  1. Render the popup as an overlay view on top of the current terminal
  2. Handle popup dismissal

Why this matters

`display-popup` is increasingly used by tmux users and plugins (e.g., tmux-fzf, lazygit popup). Without support, popup content may appear as garbled output or be lost.

Considerations

  • Popup behavior in control mode may differ from regular mode
  • Need to verify how tmux surfaces popup pane creation/destruction in control mode notifications
  • May require `%layout-change` or a new notification type

Priority

Low — niche feature used by power users and specific plugins.

Upstream potential

Fully upstreamable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by external dependencyenhancementNew feature or requestp3-lowCosmetic, noisy logs, minor polishtmuxzig-forkRequires Ghostty fork changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions