MCPcopy
hub / github.com/bombshell-dev/clack / _isActionKey

Method _isActionKey

packages/core/src/prompts/prompt.ts:185–187  ·  view source on GitHub ↗
(char: string | undefined, _key: Key)

Source from the content-addressed store, hash-verified

183 }
184
185 protected _isActionKey(char: string | undefined, _key: Key): boolean {
186 return char === '\t';
187 }
188
189 protected _shouldSubmit(_char: string | undefined, _key: Key): boolean {
190 return true;

Callers 1

onKeypressMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected