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:parse-workspace

(parse-workspace source &key (max-input-bytes +default-max-input-bytes+) (max-depth +default-max-depth+) (max-nodes +default-max-nodes+) (max-string-length +default-max-string-length+) (max-windows +default-max-windows+) (max-panes +default-max-panes+) (max-argv +default-max-argv+) (max-environment +default-max-environment+) (max-integer-digits +default-max-integer-digits+))

Public owner: libtmux.workspace

Parse one bounded libtmux.lisp.workspace/1 JSON string into a WORKSPACE. The complete document uses a closed grammar, rejects duplicate members, and never interns or evaluates external names. Limits bound UTF-8 bytes, nesting, nodes, strings, windows, total panes, argv length, session environment pairs (MAX-ENVIRONMENT, default 256), and integer token digits. Pane shell_command is explicit shell source; window layout accepts a named string or a custom object. Input and retained values are copied. Signals INVALID-WORKSPACE-DOCUMENT or WORKSPACE-LIMIT-EXCEEDED with WORKSPACE-PATH and WORKSPACE-LIMIT diagnostics.

Guides#

Pages that discuss parse-workspace.

Esc

Type to search.

Reference previewOpen reference