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

Method restoreCursor

out/cli.cjs:440–444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;
443 this.output.write(import_sisteransi.cursor.move(-999, u3 * -1));
444 }
445 render() {
446 const u3 = R4(this._render(this) ?? "", process.stdout.columns, { hard: true });
447 if (u3 !== this._prevFrame) {

Callers 1

renderMethod · 0.80

Calls 2

R4Function · 0.85
writeMethod · 0.45

Tested by

no test coverage detected