Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.send_line

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane.rs
send_line ( self , text : impl Into<OsString> ) → Result<(), Error>
method [source]
method [source]
send_line

Send literal text followed by Enter as one dispatch.

The text is sensitive and stays out of diagnostics.

Errors

Returns an error when tmux refuses the line.

Cancel safety

The effect may or may not have happened, but never half of it: the text and its Enter travel as one send-keys, so a dropped future cannot leave a line typed and not submitted. A retry can type the line twice.

Discussed in Pane interaction

0 declared, 0 inherited

Esc

Type to search.