# LibTmux::Model::ClientRef.close-popup

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Client.rakumod#L212
- **Inherited from:** LibTmux::Client::ClientTarget
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-clientref-close-popup/

```
method close-popup(*%operation --> Result:D)
```

Explicitly remove the current popup/overlay, including one left after timeout.

Explicitly remove the current popup/overlay, including one left after timeout.

## Parameters

- `%operation`

## tmux command

The tmux commands behind `close-popup`.

- [`display-popup`](/en/tmux/latest/manual/display-popup/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_display_popup_entry`](/en/tmux/latest/reference/c-variable-cmd_display_popup_entry/) (attribute)
- [`cmd_display_popup_exec`](/en/tmux/latest/reference/c-function-cmd-display-menu-c-cmd_display_popup_exec/) (function)
