MCPcopy Create free account
hub / github.com/FedericoBruzzone/tgt / decrease_size_prompt

Method decrease_size_prompt

src/components/core_window.rs:161–166  ·  view source on GitHub ↗

Decrease the size of the chat list component.

(&mut self)

Source from the content-addressed store, hash-verified

159 }
160 /// Decrease the size of the chat list component.
161 pub fn decrease_size_prompt(&mut self) {
162 if self.size_prompt == MIN_PROMPT_SIZE {
163 return;
164 }
165 self.size_prompt -= 1;
166 }
167}
168/// Implement the `HandleFocus` trait for the `CoreWindow` struct.
169/// This trait allows the `CoreWindow` to be focused or unfocused.

Callers 1

updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected