# tmux.DisplayPopupRequest.CloseOnAnyKey

- **Module:** tmux.DisplayPopupRequest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_popup.go#L72
- **Page:** https://libtmux.org/reference/go/tmux-displaypopuprequest-closeonanykey/

CloseOnAnyKey lets a nonmouse, nonpaste key dismiss the popup after its command has exited. It does not dismiss the popup while the job is active; tmux continues to send keys to that job.
