Function xterm_query::query_buffer[][src]

pub fn query_buffer(
    query: &str,
    buffer: &mut [u8],
    timeout_ms: isize
) -> 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.