pub struct TuiSettings {Show 15 fields
pub viewport: String,
pub collapse_thinking: bool,
pub reduced_motion: bool,
pub submit_key: String,
pub newline_key: String,
pub abort_key: String,
pub clear_key: String,
pub exit_key: String,
pub model_key: String,
pub toggle_thinking_key: String,
pub toggle_tools_key: String,
pub copy_key: String,
pub steering_key: String,
pub follow_up_key: String,
pub retrieve_queued_key: String,
}Expand description
Nested TUI settings merged independently by layer.
Fields§
§viewport: StringCodex-style inline viewport or explicit fullscreen compatibility mode.
collapse_thinking: boolWhether thinking blocks start collapsed.
reduced_motion: boolWhether the terminal UI avoids animated status indicators.
submit_key: StringSubmit key binding.
newline_key: StringNewline key binding.
abort_key: StringActive-run abort key binding.
clear_key: StringEditor clear key binding.
exit_key: StringApplication exit key binding.
model_key: StringModel selector key binding.
toggle_thinking_key: StringThinking-collapse key binding.
toggle_tools_key: StringTool-collapse key binding.
copy_key: StringCopy key binding.
steering_key: StringActive-run steering key binding.
follow_up_key: StringActive-run follow-up key binding.
retrieve_queued_key: StringQueued-message retrieval key binding.
Trait Implementations§
Source§impl Clone for TuiSettings
impl Clone for TuiSettings
Source§impl Debug for TuiSettings
impl Debug for TuiSettings
Source§impl Default for TuiSettings
impl Default for TuiSettings
Source§impl<'de> Deserialize<'de> for TuiSettingswhere
TuiSettings: Default,
impl<'de> Deserialize<'de> for TuiSettingswhere
TuiSettings: Default,
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
impl Eq for TuiSettings
Source§impl PartialEq for TuiSettings
impl PartialEq for TuiSettings
Source§impl Serialize for TuiSettings
impl Serialize for TuiSettings
impl StructuralPartialEq for TuiSettings
Auto Trait Implementations§
impl Freeze for TuiSettings
impl RefUnwindSafe for TuiSettings
impl Send for TuiSettings
impl Sync for TuiSettings
impl Unpin for TuiSettings
impl UnsafeUnpin for TuiSettings
impl UnwindSafe for TuiSettings
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.