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

Method is_empty

src/apps/cli/src/ui/text_input.rs:62–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

60 }
61
62 pub fn is_empty(&self) -> bool {
63 self.input.is_empty()
64 }
65
66 pub fn handle_char(&mut self, c: char) {
67 if c == '\n' {

Callers 5

handle_backspaceMethod · 0.45
take_inputMethod · 0.45
build_visual_linesMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected