Function query_buffer

Source
pub fn query_buffer<MS: Into<u64>>(
    query: &str,
    buffer: &mut [u8],
    timeout_ms: MS,
) -> Result<usize, XQError>
Expand description

Query the xterm interface, assuming the terminal is in raw mode (or we would block waiting for a newline).

Return the number of bytes read.