It's been replaced with an opaque termwiz error type instead. This is a bit of a more conservative approach than that in (refs: #407) and has less of an impact on the surrounding code, which appeals to me from a maintenance perspective. refs: #406 refs: #407
9 lines
212 B
Rust
9 lines
212 B
Rust
pub mod terminfo;
|
|
#[cfg(windows)]
|
|
pub mod windows;
|
|
|
|
pub trait RenderTty: std::io::Write {
|
|
/// Returns the (cols, rows) for the terminal
|
|
fn get_size_in_cells(&mut self) -> crate::Result<(usize, usize)>;
|
|
}
|