fix: accepting next edit does not count as typing
This commit is contained in:
parent
d1f06da04e
commit
ffa1d64a55
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ export class VsCodeExtension {
|
|||
Date.now() - state.lastDocumentChangeTime;
|
||||
if (
|
||||
state.isTypingSession &&
|
||||
timeSinceLastDocChange < this.ARBITRARY_TYPING_DELAY
|
||||
timeSinceLastDocChange < this.ARBITRARY_TYPING_DELAY &&
|
||||
!NextEditWindowManager.getInstance().hasAccepted()
|
||||
) {
|
||||
console.log("VsCodeExtension: typing in progress, preserving chain");
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue