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.

cmdlet libtmux-powershell latest

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

Examples#

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

Terminal window
$client | LibTmux\Update-TmuxClient
Parameters
Common parameters 12

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

Returns

LibTmux.Client: Native observed result.

Esc

Type to search.

Reference previewOpen reference