1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! `paint_frame::draw`: one `App`, one `Frame`, six regions of arithmetic.
//!
//! No `Layout`, no `Constraint`, no widget. The upstream surface this whole
//! module touches is six items wide: `Frame::area`, `Frame::buffer_mut`,
//! `Buffer::set_line`, `Line`, `Span`, `Style`, which keeps the render path
//! both testable and cheap to keep working across a ratatui release.
// `pub`, not private: a test in `super::super`'s own `mod tests` (it drives
// `run_ui`) needs `fixtures::sample()` from here. `#[cfg(test)]` still keeps
// every item out of the ordinary build.
/// The narrowest terminal the dashboard draws into.
///
/// The table's own floor ([`flock::MIN_WIDTH`], 31) plus the selection
/// marker's gutter ([`flock::GUTTER`], 2). Below this the whole draw becomes
/// two short lines saying so.
pub const MIN_TERM_WIDTH: u16 = MIN_WIDTH + GUTTER;
pub use ;
pub use scroll_reach;
pub use draw;