# session.NewWindowOptions.select

- **Module:** session.NewWindowOptions
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/session.rs#L1126
- **Page:** https://libtmux.org/en/rs/latest/reference/session-newwindowoptions-select/

```
session.NewWindowOptions.select(mut) -> Self
```

Make the new window active in its session.

Creation does not select by default, so building a workspace does not
leave the session pointing at whichever window happened to be last.
