pane.Pane.send_line
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- pane
- Declared in
- Pane
- Package
- libtmux
- Source
- crates/libtmux/src/pane.rs
-
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