MCPcopy Create free account
hub / github.com/GCWing/BitFun / clear

Method clear

src/apps/cli/src/ui/chat/state.rs:84–86  ·  view source on GitHub ↗

Clear all popups from the stack

(&mut self)

Source from the content-addressed store, hash-verified

82
83 /// Clear all popups from the stack
84 pub fn clear(&mut self) {
85 self.stack.clear();
86 }
87
88 /// Remove a specific popup type from the stack (for when popup is closed directly)
89 #[allow(dead_code)]

Callers 8

render_messagesMethod · 0.45
handle_mouse_eventMethod · 0.45
clear_screenMethod · 0.45
set_themeMethod · 0.45
clear_inputMethod · 0.45
history_nextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected