Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.SelectLayoutRequest.ToCommand

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
LibTmux
Declared in
SelectLayoutRequest
Package
LibTmux
Source
src/LibTmux/Requests/SelectLayoutRequest.cs
ToCommand ( window : Window ) → TmuxCommand
method [source]
method [source]
ToCommand

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

0 declared, 0 inherited

Esc

Type to search.