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
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Ruby Lua TypeScriptRustGoJavaC#C++ Swift Kotlin Scala OCaml F# Clojure
-
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
| Language | Equivalent |
|---|---|
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | reads are snapshots; Server.snapshot() takes a new one rather than refreshing a handle |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | Acquire a new snapshot; retained captured entities never refresh in place. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.