# 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/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/pane_popup.go#L85
- **Page:** https://libtmux.org/en/go/latest/reference/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.
