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#
-
Description#
Scoped to this pane's own window (
list-panes -t %ID), so tmux -- not libtmux -- decides which session the pane belongs to. SeePane.from_pane_id.Examples#
>>> pane.refresh()>>> pane.pane_id'%1'- Raises
-
-
Value
Error – Whenpane_idis unset. Surfaces a clear error underpython -O, where anassertwould be stripped. -
Tmux
Object – When the pane no longer exists.Does Not Exist -
Lib
Tmux – When tmux itself is unreachable.Exception
-
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.