Home
last modified time | relevance | path

Searched refs:cursorTo (Results 1 – 17 of 17) sorted by relevance

/third_party/node/test/parallel/
Dtest-readline-csi.js115 assert.strictEqual(readline.cursorTo(null), true);
116 assert.strictEqual(readline.cursorTo(), true);
117 assert.strictEqual(readline.cursorTo(null, 1, 1, common.mustCall()), true);
118 assert.strictEqual(readline.cursorTo(undefined, 1, 1, common.mustCall((err) => {
123 assert.strictEqual(readline.cursorTo(writable, 'a'), true);
127 assert.strictEqual(readline.cursorTo(writable, 'a', 'b'), true);
132 () => readline.cursorTo(writable, 'a', 1),
141 assert.strictEqual(readline.cursorTo(writable, 1, 'a'), true);
145 assert.strictEqual(readline.cursorTo(writable, 1), true);
149 assert.strictEqual(readline.cursorTo(writable, 1, 2), true);
[all …]
Dtest-readline-promises-csi.mjs99 assert.throws(() => readline.cursorTo(arg), INVALID_ARG)
104 assert.throws(() => readline.cursorTo('a', 'b'), INVALID_ARG);
108 assert.throws(() => readline.cursorTo('a', 1), INVALID_ARG);
112 assert.throws(() => readline.cursorTo(1, 'a'), INVALID_ARG);
116 await readline.cursorTo(1).commit();
120 await readline.cursorTo(1, 2).commit();
124 await readline.cursorTo(1, 2).commit();
128 await readline.cursorTo(1).cursorTo(1, 2).commit();
132 await readline.cursorTo(1).commit();
135 // Verify that cursorTo() rejects if x or y is NaN.
[all …]
Dtest-tty-backwards-api.js39 assert.strictEqual(writeStream.cursorTo(1, 2), true);
40 assert.strictEqual(writeStream.cursorTo(1, 2, common.mustCall()), true);
/third_party/node/lib/internal/repl/
Dutils.js36 cursorTo,
189 cursorTo(repl.output, pos.displayPos.cols);
203 cursorTo(repl.output, pos.cursorPos.cols);
274 cursorTo(repl.output, displayPos.cols);
278 cursorTo(repl.output, cursorPos.cols);
452 cursorTo(repl.output, cursorPos.cols);
639 cursorTo(repl.output, promptPos.cols);
642 cursorTo(repl.output, promptPos.cols);
668 cursorTo(repl.output, cursorPos.cols);
686 cursorTo(repl.output, promptPos.cols);
[all …]
/third_party/node/lib/internal/readline/
Dcallbacks.js33 function cursorTo(stream, x, y, callback) { function
130 cursorTo, property
Dpromises.js42 cursorTo(x, y = undefined) { method in Readline
Dinterface.js65 cursorTo,
500 cursorTo(this.output, 0);
513 cursorTo(this.output, cursorPos.cols);
1177 cursorTo(this.output, 0, 0);
/third_party/node/lib/
Dtty.js144 WriteStream.prototype.cursorTo = function(x, y, callback) { method in WriteStream
146 return readline.cursorTo(this, x, y, callback);
Dreadline.js39 cursorTo,
521 cursorTo, property
/third_party/node/benchmark/
D_benchmark_progress.js114 readline.cursorTo(process.stderr, 0);
/third_party/node/lib/internal/console/
Dconstructor.js450 cursorTo,
453 cursorTo(this._stdout, 0, 0);
/third_party/node/doc/api/
Dtty.md167 ### `writeStream.cursorTo(x[, y][, callback])`
184 `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
Dreadline.md673 #### `rl.cursorTo(x[, y])`
683 The `rl.cursorTo()` method adds to the internal list of pending action an action
1072 ### `readline.cursorTo(stream, x[, y][, callback])`
1095 The `readline.cursorTo()` method moves cursor to the specified position in a
/third_party/node/lib/internal/debugger/
Dinspect.js238 this.stdout.cursorTo(0);
/third_party/node/doc/changelogs/
DCHANGELOG_V16.md2504 ….com/nodejs/node/commit/45dbcbef90)] - **(SEMVER-MAJOR)** **readline**: cursorTo throw error on Na…
DCHANGELOG_V12.md4605 …e/commit/e474c6776c)] - **(SEMVER-MINOR)** **readline**: establish y in cursorTo as optional (Gerh…
4909 …it/caee9106ac)] - **(SEMVER-MINOR)** **readline**: expose stream API in cursorTo() (cjihrig) [#286…
DCHANGELOG_V10.md2312 …ub.com/nodejs/node/commit/bf17708aa2)] - **tty**: document `WriteStream.cursorTo()` and others (Um…