pub struct TuiConfig {
pub show_source_labels: bool,
pub tool_density: ToolDensity,
pub motion: Motion,
pub fleet: FleetConfig,
pub theme: ThemeConfig,
pub delights: DelightsConfig,
pub mouse: bool,
pub panel_sizing: PanelSizingMode,
}Expand description
TUI (terminal user interface) configuration, nested under [tui] in TOML.
§Example (TOML)
[tui]
show_source_labels = true
tool_density = "inline"
motion = "full"
[tui.theme]
name = "zephyr"
color_mode = "auto"
[tui.delights]
stream_metrics = true
toasts = true
completion_flash = true
smooth_scroll = true
splash_shimmer = trueFields§
§show_source_labels: boolShow memory source labels (episodic / semantic / graph) in the message view.
Default: false.
tool_density: ToolDensityDefault tool-output density applied at startup.
Runtime changes via the c key are not persisted back to config.
Default: inline.
motion: MotionAnimation budget for the input separator row.
full = wave (default), minimal = breeze spinner, off = static.
fleet: FleetConfigFleet panel configuration (auto-refresh interval and max sessions displayed).
theme: ThemeConfigTheme and colour capability configuration.
delights: DelightsConfigMicro-delight toggles (tok/s, toasts, flash, scroll, shimmer). All default true.
motion = off overrides all toggles regardless of their individual values.
mouse: boolEnable opt-in mouse capture at startup.
When true, the terminal forwards scroll-wheel, click, and drag events to
the TUI. Text selection via Shift+drag still works. Default: false.
panel_sizing: PanelSizingModeSide-panel vertical sizing strategy (#6675).
auto (default) sizes each unpinned side panel from its own content; even
approximates the pre-#6675 behavior of splitting the column equally regardless of
content (same total per slot; exact per-slot remainder placement can differ from the
old cassowary-based split — see zeph_tui::layout::PanelDemand’s docs). Runtime-
togglable via /panel_sizing [auto|even].
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TuiConfig
impl<'de> Deserialize<'de> for TuiConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TuiConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TuiConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for TuiConfig
impl Serialize for TuiConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for TuiConfig
impl RefUnwindSafe for TuiConfig
impl Send for TuiConfig
impl Sync for TuiConfig
impl Unpin for TuiConfig
impl UnsafeUnpin for TuiConfig
impl UnwindSafe for TuiConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request