# plan.ops.panes.SendKeys.keys

- **Module:** plan.ops.panes.SendKeys
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/plan/ops/panes.rs#L293
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-panes-sendkeys-keys/

```
plan.ops.panes.SendKeys.keys(mut, keys: impl IntoIterator<Item = K>) -> Self
```

Send named keys such as `C-c` or `Escape`.

Resolved against tmux's key table, which is why this cannot be
combined with [`SendKeys::text`]: literal text needs `-l`, and `-l`
would literalize these too. [`crate::plan::Plan::validate`] rejects
the combination before anything runs.
