MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / readLine

Method readLine

src/commands/text/repl.ts:90–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 readLine(): Promise<string> {
91 return new Promise(resolve => {
92 this.buffer = '';
93 this.cursor = 0;
94 this.lastTotal = 0;
95 this.resolve = resolve;
96 this.render();
97 });
98 }
99
100 feed(data: Buffer): void {
101 const raw = data.toString();

Callers 1

runFunction · 0.95

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected