# libtmux::NewSessionOptions

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L115
- **Page:** https://libtmux.org/reference/cxx/libtmux-newsessionoptions/

## Members

- `name` (attribute)
- `start_directory` (attribute)
- `first_window_name` (attribute) — The name of the window the session starts with.
- `shell_command` (attribute)
- `width` (attribute) — The size tmux gives the session while no client is attached.
- `height` (attribute)
- `environment` (attribute) — Variables the new process starts with, on top of what tmux passes down.
