# plan.ops.windows.NewWindow.name

- **Module:** plan.ops.windows.NewWindow
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/plan/ops/windows.rs#L121
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-windows-newwindow-name/

```
plan.ops.windows.NewWindow.name(mut, name: impl Into<OsString>) -> Self
```

Name the window.

tmux expands this as a format, so [`crate::escape_format`] belongs
around text a program did not write.
