Core Library0.xAPI reference

Choose documentation 2

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

cmdlet libtmux-powershell

LibTmux.Update-TmuxPane

Refresh a pane into a replacement captured object.

Source and package
Qualified name
LibTmux\Update-TmuxPane
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
Parameters
Common parameters 12

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

Returns

LibTmux.Pane: Native pipeline type for this command.

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

Recorded calls

source calls
No call edges in the PowerShell model.

The PowerShell reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux\Update-TmuxPane.

Guides

task material

Pages that discuss Update-TmuxPane.

Esc
Search in

Type to search.

Reference previewOpen reference