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

io.github.libtmux.Layouts.Layouts.require

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

View as Markdown

Module
io.github.libtmux.Layouts
Declared in
Layouts
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Layouts.java
require ( layout : String ) → String ( layout : String , running : TmuxVersion ) → String
methodstaticoverload2 overloads [source]
methodstaticoverload2 overloads [source]
require

Returns the layout unchanged, having checked tmux will recognise it.

Accepts the classic checksummed form, a JSON layout (by shape only — a running version is needed to say whether this server could have written it, which TmuxVersion) does), a built-in name, or an unambiguous prefix of exactly one built-in name (layout_set_lookup is a prefix match, so tile and even-h apply on every tmux release). Ambiguity is judged against every name this library knows, not only the ones the eventual server will have — the version to narrow that with is not available here.

Raises

0 declared, 0 inherited

Esc

Type to search.