pub struct TuiConfig {Show 17 fields
pub version: Option<u32>,
pub column_visibility: Vec<bool>,
pub column_order: Vec<String>,
pub refresh_interval_ms: Option<u64>,
pub transcript_poll_interval_ms: Option<u64>,
pub theme: Option<String>,
pub show_borders: Option<bool>,
pub profiles: HashMap<String, TuiColumnProfile>,
pub group_panel_enabled: Option<bool>,
pub animation_enabled: Option<bool>,
pub animation_duration_ms: Option<u64>,
pub sort_spec: Option<Vec<TuiSortSpec>>,
pub auto_enable_frameworks: Option<bool>,
pub terminal_spawn_method: Option<String>,
pub shorten_model_names: Option<bool>,
pub check_for_updates: Option<bool>,
pub pane_backgrounds: Option<bool>,
}Expand description
TUI configuration section for the unified config.
This struct is designed to be serialized as the [tui] section in config.toml.
It stores values in a format that can be serialized/deserialized without
depending on TUI-specific types like SessionField.
Fields§
§version: Option<u32>Config version for migrations.
column_visibility: Vec<bool>Column visibility settings (one bool per column).
column_order: Vec<String>Column display order (field names as strings).
refresh_interval_ms: Option<u64>Refresh interval in milliseconds.
transcript_poll_interval_ms: Option<u64>Transcript poll interval in milliseconds.
theme: Option<String>Theme name (e.g., “default”, “minimal”, “dracula”).
show_borders: Option<bool>Override for border visibility.
profiles: HashMap<String, TuiColumnProfile>Named column profiles. Each profile contains visibility and order settings.
group_panel_enabled: Option<bool>Whether the group panel is enabled/visible.
animation_enabled: Option<bool>Whether animations are enabled (e.g., panel slide transitions).
animation_duration_ms: Option<u64>Animation duration in milliseconds.
sort_spec: Option<Vec<TuiSortSpec>>Sort specification - list of sort columns with direction.
auto_enable_frameworks: Option<bool>Whether to auto-enable newly detected frameworks.
terminal_spawn_method: Option<String>Method for spawning new terminals.
shorten_model_names: Option<bool>Whether to shorten model names (e.g., “gpt-5.2-codex” → “gpt-5.2”). Defaults to true.
check_for_updates: Option<bool>Whether to check for updates on startup. Defaults to true. When enabled, mi6 will check for new versions in the background on startup and notify if an update is available.
pane_backgrounds: Option<bool>Whether to use theme-defined pane background colors.
Defaults to false for backward compatibility (uses terminal default).
When enabled, uses the theme’s [panes] and [core] background colors.