2025-09-14 16:51:08 -04:00
|
|
|
//! Shared UI constants for layout and alignment within the TUI.
|
|
|
|
|
|
|
|
|
|
/// Width (in terminal columns) reserved for the left gutter/prefix used by
|
|
|
|
|
/// live cells and aligned widgets.
|
|
|
|
|
///
|
|
|
|
|
/// Semantics:
|
|
|
|
|
/// - Chat composer reserves this many columns for the left border + padding.
|
|
|
|
|
/// - Status indicator lines begin with this many spaces for alignment.
|
|
|
|
|
/// - User history lines account for this many columns (e.g., "▌ ") when wrapping.
|
|
|
|
|
pub(crate) const LIVE_PREFIX_COLS: u16 = 2;
|
2025-09-29 17:10:04 -07:00
|
|
|
pub(crate) const FOOTER_INDENT_COLS: usize = LIVE_PREFIX_COLS as usize;
|