Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_backspace
Method · 0.45
take_input
Method · 0.45
visual_line_count_with_prefix
Method · 0.45
build_visual_lines
Method · 0.45
render
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected