Merge pull request #8421 from uinstinct/enter-key-input
fix: enter key input during prompt edit not working
This commit is contained in:
commit
88c11a1312
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue