MCPcopy Create free account
hub / github.com/continuedev/continue / flushPendingInput

Method flushPendingInput

extensions/cli/src/ui/TextBuffer.ts:278–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276
277 // Test helper: forces immediate finalization without waiting for timers
278 flushPendingInput(): void {
279 if (this._rapidInputTimer) {
280 clearTimeout(this._rapidInputTimer);
281 this._rapidInputTimer = null;
282 this.finalizeRapidInput();
283 }
284 }
285
286 private escapeRegex(str: string): string {
287 return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");

Callers 1

TextBuffer.test.tsFile · 0.80

Calls 1

finalizeRapidInputMethod · 0.95

Tested by

no test coverage detected