# LibTmux.Creation.SessionOptions

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L44
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-creation-t-sessionoptions/

```haskell
data SessionOptions
```

Checked when creation is requested. Nothing selects native defaults.
 Names and paths remain literal through tmux format parsing. Environment and
 shell/argv bytes retain their native interpretation. Options have no Show
 instance because command and environment data may contain credentials.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`SessionOptions`](/en/haskell/latest/reference/libtmux-creation-t-sessionoptions/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L53))

## Members

### Other members

- [`environment`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-environment/) (record field): Session overrides, subject to native environment inheritance.
- [`height`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-height/) (record field): Requested cells, at most 65535; independent of :obj:`width <LibTmux.Creation#v:SessionOptions.width>`.
- [`name`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-name/) (record field): Literal session name, or tmux's generated name.
- [`process`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-process/) (record field): Initial process mode, separate from creation completion.
- [`SessionOptions`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions/) (data constructor)
- [`updateEnvironment`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-updateenvironment/) (record field): Apply tmux's configured update-environment list from the calling client.
- [`width`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-width/) (record field): Requested cells, at most 65535; native status/layout rules still apply.
- [`windowName`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-windowname/) (record field): Literal initial window label; the daemon validates its bytes.
- [`workingDirectory`](/en/haskell/latest/reference/libtmux-creation-v-sessionoptions-workingdirectory/) (record field): Initial cwd, relative to the calling client's cwd when relative.

## Referenced declarations

- [`LibTmux.Creation.SessionOptions`](/en/haskell/latest/reference/libtmux-creation-t-sessionoptions/) (data type)
