# tmux.NewWindowRequest.Index

- **Module:** tmux.NewWindowRequest
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/window_lifecycle.go#L29
- **Page:** https://libtmux.org/reference/go/tmux-newwindowrequest-index/

Index selects an explicit nonnegative winlink index for Session.NewWindow; nil uses the next free index.
