Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

property libtmux-ts latest

NewSessionOptions.name

The session's name, tmux's -s.

Source and package
Qualified name
NewSessionOptions.name
Module
types
Declared in
NewSessionOptions
Package
libtmux
Source
packages/libtmux/src/types.ts

Description#

Empty names, :, ., control characters and DEL are refused, because the supported servers do not agree on them: 3.2a through 3.6b rewrite a delimiter to _ and hand back a session the caller did not name, 3.7 fails, and 3.7a onward stores it literally. What is accepted here reads back unchanged from every supported server.

Esc

Type to search.

Reference previewOpen reference