Remove the blanket pendingUserInputs.length > 0 guard from insertTextAtEnd. The downstream applyPromptReplacement already handles the pending-question path correctly by routing through onChangeActivePendingUserInputCustomAnswer, so the guard was unnecessarily blocking custom free-text answers from being started via global keystrokes.