tears 0.9.0

A simple and elegant framework for building TUI applications using The Elm Architecture (TEA)
Documentation
1
2
3
4
5
6
7
8
9
10
// Keep shared integration-test helpers under `common/mod.rs` so Cargo does not
// treat the helper module itself as a separate zero-test integration target.

use color_eyre::eyre::Result;
use ratatui::{Terminal, backend::TestBackend};

pub fn test_terminal() -> Result<Terminal<TestBackend>> {
    let backend = TestBackend::new(80, 24);
    Ok(Terminal::new(backend)?)
}