Skip to main content

send_keys

Function send_keys 

Source
pub fn send_keys(target: &str, keys: &str, press_enter: bool) -> Result<()>
Expand description

Send keys to a tmux target (session or pane).

This is how batty injects responses into the executor’s PTY. The keys string is sent literally, followed by Enter if press_enter is true.