# plan.ops.windows.RenameWindow.new

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

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