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

Python API

Python documentation

libtmux.Server.refresh_client

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
Ruby Lua TypeScript Rust Go Java .NET C++ Swift
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).

In other ports Redraw a client's display
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust no equivalent on Server
  • Go tmux.Server.RefreshClient
  • Java no equivalent on Server
  • .NET LibTmux.Server.RefreshClientAsync
  • C++ no equivalent on Server
  • Swift no equivalent on Server

0 declared, 0 inherited

Esc

Type to search.