LibTmux.SelectLayoutRequest.ToCommand
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- LibTmux
- Declared in
- SelectLayoutRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/SelectLayoutRequest.cs
- ToCommand ( window : Window ) TmuxCommand
-
Returns a layout request as one tmux command for a window.
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
-
-
window ( Window ) – The window the layout applies to.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
ArgumentNullException –
windowis null. -
TmuxWindowException – The layout is one tmux may not recognise.
-
0 declared, 0 inherited