libtmux Reference MCP Search
On this page

libtmux.Server.refresh_client

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
refresh_client ( self , target_client : str | None = None , request_clipboard : bool = False ) None
method [source]
method [source]
refresh_client

Refresh a client's display via $ tmux refresh-client.

Requires an attached client.

Examples

>>> with control_mode() as ctl:
...     server.refresh_client()
Parameters
  • target_client ( str | None ) – Target client (-t flag).

  • request_clipboard ( bool ) – Request the clipboard from the terminal (-l flag, tty_clipboard_query) — the runtime companion to the get-clipboard option. Requires tmux 3.7+; warns and is ignored on older tmux (where -l is the legacy forward form).

0 declared, 0 inherited

Esc

Type to search.