Core Library0.xAPI reference

Choose documentation 3

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

method libtmux-dotnet

SelectLayoutRequest.ToCommand

Returns a layout request as one tmux command for a window.

Source and package
Qualified name
LibTmux.SelectLayoutRequest.ToCommand
Namespace
LibTmux
Declared in
SelectLayoutRequest
Package
LibTmux
Source
src/LibTmux/Requests/SelectLayoutRequest.cs

Description

This takes the window because a layout name is checked against the ones the running tmux knows, and an unrecognised name takes the whole server down on tmux 3.3a. Batching a layout must not skip that check.

Parameters
Returns

The command, ready to add to a TmuxChain.

Errors

Recorded calls

source calls
No call edges in the C# model.

The C# 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.SelectLayoutRequest.ToCommand.

Esc
Search in

Type to search.

Reference previewOpen reference