fix(tui): show queued prompts when drained

This commit is contained in:
Brooklyn Nicholson
2026-04-26 14:01:14 -05:00
parent c9f7b703dd
commit a30ffbe1d4

View File

@@ -199,9 +199,9 @@ export function useSubmission(opts: UseSubmissionOptions) {
return interpolate(text, send) return interpolate(text, send)
} }
send(text, composerRefs.queueRef.current.length === 0) send(text)
}, },
[composerRefs, interpolate, send, shellExec] [interpolate, send, shellExec]
) )
const dispatchSubmission = useCallback( const dispatchSubmission = useCallback(