# pane.Pane.displayPopup

- **Module:** pane
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/pane.ts#L651
- **Page:** https://libtmux.org/en/ts/latest/reference/pane-pane-displaypopup/

```
displayPopup(
  command?: string,
  options?: PopupOptions,
): Promise<void>
```

Open a popup over the client showing this pane.

## Examples

```ts
await pane.displayPopup("htop", { width: "80%" });
```

## Parameters

- `command?` (`string`)
- `options?` (`PopupOptions`)

## tmux command

The tmux commands behind `displayPopup`.

- [`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)

## In other ports

Open a popup over the client showing a pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.display_popup`](/en/py/latest/reference/libtmux-pane-display_popup/) (method) |
| Rust | no equivalent on `Pane` |
| Go | [`tmux.Pane.DisplayPopup`](/en/go/latest/reference/tmux-pane-displaypopup/) (method) |
| Java | no equivalent on `Pane` |
| C# | [`LibTmux.Pane.DisplayPopupAsync`](/en/csharp/latest/reference/libtmux-pane-displaypopupasync/) (method) |
| C++ | no equivalent on `Pane` |
| Swift | no equivalent on `Pane` |

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.
