Merge pull request #8421 from uinstinct/enter-key-input

fix: enter key input during prompt edit not working
This commit is contained in:
Dallin Romney 2025-10-30 10:46:26 -07:00 • committed by GitHub
commit 88c11a1312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -350,7 +350,7 @@ export function createEditorConfig(options: {
if (!editor) {
return;
}
if (isStreaming || (codeToEdit.length === 0 && isInEdit)) {
if (isStreamingRef.current || (codeToEdit.length === 0 && isInEdit)) {
return;
}