# types.NewSessionOptions.name

- **Module:** types.NewSessionOptions
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L100
- **Page:** https://libtmux.org/en/ts/latest/reference/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.
