Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

SendKeys.enter

Follow the text with Enter.

Source and package
Qualified name
libtmux::plan::ops::panes::SendKeys::enter
Module
plan.ops.panes
Declared in
SendKeys
Package
libtmux
Source
crates/libtmux/src/plan/ops/panes.rs
#[must_use] pub const fn enter(mut self) -> Self

Description#

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.

Esc

Type to search.

Reference previewOpen reference