Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/enquirer/enquirer
/ reset
Method
reset
lib/types/string.js:52–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
}
51
52
reset() {
53
this.input = this.value =
''
;
54
this.cursor = 0;
55
return
this.render();
56
}
57
58
dispatch(ch, key) {
59
if
(!ch || key.ctrl || key.code)
return
this.alert();
Callers
1
prev
Method · 0.95
Calls
1
render
Method · 0.95
Tested by
no test coverage detected