Workspace ManagerconceptAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

libtmux.workspace:make-workspace

(make-workspace data &key (max-windows 100) (max-panes 1000) (max-argv 256) (max-environment 256))

Public owner: libtmux.workspace

Validate closed native DATA and return an owned WORKSPACE without I/O. DATA is a keyword plist in schema libtmux.lisp.workspace/1. Lists and vectors must be finite. MAX-WINDOWS, MAX-PANES, and MAX-ARGV bound retained topology and commands. MAX-ENVIRONMENT bounds session (name . value) string pairs; tmux stores them in the session environment inherited by later panes. Pane :COMMAND is argv; :SHELL-COMMAND is explicit shell source, mutually exclusive with argv. Window :LAYOUT is a named keyword or (:CUSTOM string) validated by tmux on apply. Names reject characters tmux would rewrite. Unknown/duplicate keys, invalid types or limits signal INVALID-WORKSPACE. Mutable inputs are copied.

Guides#

Pages that discuss make-workspace.

Esc

Type to search.

Reference previewOpen reference