Core LibraryAPI Reference

Choose documentation 2

latest

Current version

latest
English

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

cmdlet libtmux-powershell latest

LibTmux.Update-TmuxPane

LibTmux\Update-TmuxPane LibTmux\Update-TmuxPane

Refresh a pane into a replacement captured object.

Source and package
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/UpdateTmuxPaneCommand.cs

Description#

Acquire current pane data through the native core handle. Return a new Pane and leave the original capture unchanged. This is an explicit read operation, so it does not require mutation confirmation.

Notes

The owning endpoint and server generation remain part of the handle. A disappeared pane or stale generation writes a per-target error; use -ErrorAction Stop to terminate.

Command details#

Command type
cmdlet
Positional binding
Enabled.
Pipeline inputs
LibTmux.Pane : Native pipeline type for this command.
Outputs
LibTmux.Pane

Examples#

Example 1 Refresh the first pane on the existing server identified by $SocketPath . View source

Terminal window
LibTmux\New-TmuxServer -SocketPath $SocketPath |
LibTmux\Get-TmuxPane |
Select-Object -First 1 |
LibTmux\Update-TmuxPane
Parameters
Common parameters 12

PowerShell supplies these parameters. See common parameter behavior for their effects.

Returns

LibTmux.Pane : Native pipeline type for this command.

Discussed in Capture, refresh and raw commands , Read tmux objects

Esc

Type to search.

Reference preview Open reference