blob: 844a70c3c72c3e26491a278e1f644e7982c396d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use tui::layout::Constraint;
mod tui_backend;
pub mod widgets;
pub use tui_backend::*;
pub const DEFAULT_LAYOUT: [tui::layout::Constraint; 3] = [
Constraint::Ratio(1, 8),
Constraint::Ratio(3, 8),
Constraint::Ratio(4, 8),
];
pub const NO_PREVIEW_LAYOUT: [tui::layout::Constraint; 3] = [
Constraint::Ratio(1, 8),
Constraint::Ratio(7, 8),
Constraint::Ratio(0, 8),
];
|