# tmux.Pane.DisplayPopup

- **Module:** tmux.Pane
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_popup.go#L118
- **Page:** https://libtmux.org/reference/go/tmux-pane-displaypopup/

```
tmux.Pane.DisplayPopup(ctx: context.Context, request: DisplayPopupRequest) -> error
```

DisplayPopup displays an overlay on the selected client and waits until it closes after command exit or user dismissal. A zero request starts tmux's default command or default shell and may wait indefinitely. The API exposes no popup process handle, stdout, or child exit status.

The command carries the receiver's exact linked session-window-pane target,
which supplies format and working-directory context. TargetClient selects
the overlay client; it does not turn the operation into pane delivery. tmux
interprets Command as a shell command; outer-parser escaping does not quote
or neutralize that inner command.

Title, BorderLines, Style, BorderStyle, Environment, and NoBorder require
tmux 3.3. CloseOnAnyKey and NoKeys require tmux 3.6. Unsupported fields follow
[UnsupportedPolicy].

Invalid fields fail before display. Only stderr produces a redacted
[CommandError]; nonzero exits without stderr are ignored. Cancellation cannot
dismiss an accepted popup, which may remain visible.
