# plan.ops.panes.SendKeys.enter

- **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#L306
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-panes-sendkeys-enter/

```
plan.ops.panes.SendKeys.enter(mut) -> Self
```

Follow the text with Enter.

When literal text is set, Enter is folded into it as a trailing
carriage return rather than sent as a separate named key -- the same
dispatch [`crate::Pane::send_line`] uses to submit a line in one
command. Without text, Enter renders as the named key after
whatever [`SendKeys::keys`] sends.
