Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

Python API

method libtmux stable

Pane.refresh

Refresh pane attributes from tmux.

Source and package
Qualified name
libtmux.Pane.refresh
Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
PowerShell Julia Ruby Lua TypeScriptRustGoJavaC#C++ Swift Kotlin Scala F#
refresh (self) → None

Description#

Scoped to this pane's own window (list-panes -t %ID), so tmux -- not libtmux -- decides which session the pane belongs to. See Pane.from_pane_id .

Examples#

>>> pane.refresh()
>>> pane.pane_id
'%1'
Raises
In other ports Read a pane again
  • PowerShell
    No source-verified PowerShell equivalent is recorded for this operation.
  • Julia
    No source-verified Julia equivalent is recorded for this operation.
  • Ruby
    No source-verified Ruby equivalent is recorded for this operation.
  • Lua
    No source-verified Lua equivalent is recorded for this operation.
  • TypeScript
  • Rust
  • Go
  • Java
  • C#
  • C++
  • Swift
    reads are snapshots; Server.snapshot() takes a new one rather than refreshing a handle
  • Kotlin
    No source-verified Kotlin equivalent is recorded for this operation.
  • Scala
    No source-verified Scala equivalent is recorded for this operation.
  • F#
    No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.

Reference preview Open reference