Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.displayPopup

TypeScript

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
Python Ruby Lua Rust Go Java .NET C++ Swift
displayPopup ( command : : string , options : : PopupOptions ) → Promise<void>
method [source]
method [source]
displayPopup

Open a popup over the client showing this pane.

In other ports Open a popup over the client showing a pane

Examples

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

Not directly testable — popup rendering requires a TTY-backed client. Control-mode provides an attached client for invocation but the popup itself is not visible or verifiable.

>>> with control_mode() as ctl:
... pane.display_popup(command='true', close_on_exit=True)

0 declared, 0 inherited

Esc

Type to search.