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-TmuxClient

Refresh a client into a replacement captured object.

Source and package
Qualified name
LibTmux\Update-TmuxClient
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/UpdateTmuxClientCommand.cs

Description

Read the client again by its native name and return a replacement Client. Leave the original captured fields unchanged. This is an explicit read, not a redraw or mutation of the terminal.

Notes

A client that has detached writes the native TmuxObjectNotFoundException as a per-target error. Use -ErrorAction Stop to terminate.

Command details

Command type
cmdlet
Positional binding
Enabled.
Pipeline inputs
LibTmux.Client: Native pipeline owner.
Outputs
LibTmux.Client
Parameters
Common parameters 12

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

Returns

LibTmux.Client: Native observed result.

Examples

Example 1 Refresh a previously selected native $client. View source

Terminal window
$client | LibTmux\Update-TmuxClient

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-TmuxClient.

Esc
Search in

Type to search.

Reference previewOpen reference