# types.NewSessionOptions.name

- **Module:** types.NewSessionOptions
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/types.ts#L100
- **Page:** https://libtmux.org/reference/ts/types-newsessionoptions-name/

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

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.
