Documentation / @agentick/tui / handleConfirmationKey
Function: handleConfirmationKey() ​
handleConfirmationKey(
input,respond):boolean
Defined in: input-utils.ts:16
Handle a keystroke during tool confirmation state.
Routes Y/N/A keys to the respond callback. Returns true if the key was handled (consumed), false otherwise.
Parameters ​
input ​
string
respond ​
(response) => void
Returns ​
boolean