/third_party/node/test/parallel/ |
D | test-readline-csi.js | 115 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 …]
|
D | test-readline-promises-csi.mjs | 99 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 …]
|
D | test-tty-backwards-api.js | 39 assert.strictEqual(writeStream.cursorTo(1, 2), true); 40 assert.strictEqual(writeStream.cursorTo(1, 2, common.mustCall()), true);
|
/third_party/node/lib/internal/repl/ |
D | utils.js | 36 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/ |
D | callbacks.js | 33 function cursorTo(stream, x, y, callback) { function 130 cursorTo, property
|
D | promises.js | 42 cursorTo(x, y = undefined) { method in Readline
|
D | interface.js | 65 cursorTo, 500 cursorTo(this.output, 0); 513 cursorTo(this.output, cursorPos.cols); 1177 cursorTo(this.output, 0, 0);
|
/third_party/node/lib/ |
D | tty.js | 144 WriteStream.prototype.cursorTo = function(x, y, callback) { method in WriteStream 146 return readline.cursorTo(this, x, y, callback);
|
D | readline.js | 39 cursorTo, 521 cursorTo, property
|
/third_party/node/benchmark/ |
D | _benchmark_progress.js | 114 readline.cursorTo(process.stderr, 0);
|
/third_party/node/lib/internal/console/ |
D | constructor.js | 450 cursorTo, 453 cursorTo(this._stdout, 0, 0);
|
/third_party/node/doc/api/ |
D | tty.md | 167 ### `writeStream.cursorTo(x[, y][, callback])` 184 `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
|
D | readline.md | 673 #### `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/ |
D | inspect.js | 238 this.stdout.cursorTo(0);
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V16.md | 2504 ….com/nodejs/node/commit/45dbcbef90)] - **(SEMVER-MAJOR)** **readline**: cursorTo throw error on Na…
|
D | CHANGELOG_V12.md | 4605 …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…
|
D | CHANGELOG_V10.md | 2312 …ub.com/nodejs/node/commit/bf17708aa2)] - **tty**: document `WriteStream.cursorTo()` and others (Um…
|