# plan.ops.windows.RenameWindow.new

- **Module:** plan.ops.windows.RenameWindow
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/plan/ops/windows.rs#L262
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-windows-renamewindow-new/

```
plan.ops.windows.RenameWindow.new(target: impl Into<WindowTarget>, name: impl Into<OsString>) -> Self
```

Give this window a new name.
