fix: accepting next edit does not count as typing

This commit is contained in:
Jacob Kim 2025-08-11 17:44:51 -07:00
parent d1f06da04e
commit ffa1d64a55

View file

@ -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;