SelectLayoutRequest.ToCommand
Returns a layout request as one tmux command for a window.
Source and package
- Qualified name
-
LibTmux .Select Layout Request. To Command - Namespace
- LibTmux
- Declared in
SelectLayoutRequest- Package
- LibTmux
- Source
- src/LibTmux/Requests/SelectLayoutRequest.cs
- Tmux
Command ToCommand(Window window) -
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
-
-
Argument
Null –Exception windowis null. -
Tmux
Window – The layout is one tmux may not recognise.Exception
-
Recorded calls
source callsThe 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.