MCPcopy
hub / github.com/di-sukharev/opencommit / close

Method close

out/cli.cjs:436–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434 u3 === "" && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
435 }
436 close() {
437 this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
438`), v3(this.input, false), this.rl.close(), this.emit(`${this.state}`, this.value), this.unsubscribe();
439 }
440 restoreCursor() {
441 const u3 = R4(this._prevFrame, process.stdout.columns, { hard: true }).split(`
442`).length - 1;

Callers 15

WDFunction · 0.45
onKeypressMethod · 0.45
constructorMethod · 0.45
B3Function · 0.45
g5Function · 0.45
w7Function · 0.45
m5Function · 0.45
wrFunction · 0.45
pullMethod · 0.45
startFunction · 0.45
pullFunction · 0.45

Calls 15

v3Function · 0.85
deFunction · 0.85
AeFunction · 0.85
PeFunction · 0.85
EeFunction · 0.85
XtFunction · 0.85
GeFunction · 0.85
XeFunction · 0.85
d6Function · 0.85
rtFunction · 0.85
KeFunction · 0.85
_tFunction · 0.85

Tested by

no test coverage detected