mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-28 05:50:26 +08:00
lib: Rework render width-dependent table column display
This commit is contained in:
@@ -22,6 +22,11 @@ use super::terminal;
|
||||
const RENDERING_TICK_RATE: Duration = Duration::from_millis(250);
|
||||
const INLINE_HEIGHT: usize = 20;
|
||||
|
||||
pub const RENDER_WIDTH_XSMALL: usize = 50;
|
||||
pub const RENDER_WIDTH_SMALL: usize = 70;
|
||||
pub const RENDER_WIDTH_MEDIUM: usize = 150;
|
||||
pub const RENDER_WIDTH_LARGE: usize = usize::MAX;
|
||||
|
||||
/// The `Frontend` runs an applications' view concurrently. It handles
|
||||
/// terminal events as well as state updates and renders the view accordingly.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user