MCPcopy
hub / github.com/codeaashu/claude-code / waitUntilExit

Method waitUntilExit

src/ink/ink.tsx:1534–1540  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1532 }
1533 }
1534 async waitUntilExit(): Promise<void> {
1535 this.exitPromise ||= new Promise((resolve, reject) => {
1536 this.resolveExitPromise = resolve;
1537 this.rejectExitPromise = reject;
1538 });
1539 return this.exitPromise;
1540 }
1541 resetLineCount(): void {
1542 if (this.options.stdout.isTTY) {
1543 // Swap so old front becomes back (for screen reuse), then reset front

Callers 3

createRootFunction · 0.95
renderAndRunFunction · 0.80
renderToAnsiStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected