method libtmux-dotnet latest
Server.IsValidLayoutCandidate
Checks a layout's syntax without contacting a server.
Source and package
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Layout.cs
-
Description#
This is the version-independent half of
ValidateLayoutsAsync: it never contacts tmux, so it cannot catch a named layout that only some daemon versions accept. Call it at parse time, before a document is otherwise trusted; callValidateLayoutsAsyncafterward to catch a version-sensitive name.