Function input

Source
pub fn input<Input>(keys: Input) -> Result<usize, Error>
where Input: Into<String>,
Expand description

Binding to nvim_input.

Queues raw user-input. Unlike api::feedkeys this uses a low-level input buffer and the call is non-blocking.

Returns the number of bytes written to the buffer.