pub struct DelightsConfig {
pub stream_metrics: bool,
pub toasts: bool,
pub completion_flash: bool,
pub smooth_scroll: bool,
pub splash_shimmer: bool,
}Expand description
Micro-delight toggles for the TUI dashboard (#5104).
All features default to true. The motion = off setting in TuiConfig
acts as a master kill-switch that overrides every individual toggle.
§Example (TOML)
[tui.delights]
stream_metrics = true # tok/s during streaming + TTFT in status bar
toasts = true # ephemeral overlay notifications
completion_flash = true # accent tint on finished tool groups
smooth_scroll = true # eased multi-frame scroll on page jumps
splash_shimmer = true # one-shot gradient sweep across the wordmarkFields§
§stream_metrics: boolShow tok/s during streaming and TTFT after each turn in the status bar.
toasts: boolEphemeral toast notifications (theme switched, copied, task done).
completion_flash: boolOne-frame accent tint when a tool group finishes.
smooth_scroll: boolEased multi-frame interpolation on page scroll.
splash_shimmer: boolOne-shot gradient shimmer across the splash wordmark at startup.
Trait Implementations§
Source§impl Clone for DelightsConfig
impl Clone for DelightsConfig
Source§fn clone(&self) -> DelightsConfig
fn clone(&self) -> DelightsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DelightsConfig
impl Debug for DelightsConfig
Source§impl Default for DelightsConfig
impl Default for DelightsConfig
Source§impl<'de> Deserialize<'de> for DelightsConfig
impl<'de> Deserialize<'de> for DelightsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DelightsConfig
impl RefUnwindSafe for DelightsConfig
impl Send for DelightsConfig
impl Sync for DelightsConfig
impl Unpin for DelightsConfig
impl UnsafeUnpin for DelightsConfig
impl UnwindSafe for DelightsConfig
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
Mutably borrows from an owned value. Read more