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

LibTmux\Update-TmuxClient LibTmux\Update-TmuxClient

Refresh a client into a replacement captured object.

Source and package
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 preview Open reference