(stream, options = undefined)
| 26 | #todo = []; |
| 27 | |
| 28 | constructor(stream, options = undefined) { |
| 29 | if (!isWritable(stream)) |
| 30 | throw new ERR_INVALID_ARG_TYPE('stream', 'Writable', stream); |
| 31 | this.#stream = stream; |
| 32 | if (options?.autoCommit != null) { |
| 33 | validateBoolean(options.autoCommit, 'options.autoCommit'); |
| 34 | this.#autoCommit = options.autoCommit; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Moves the cursor to the x and y coordinate on the given stream. |
nothing calls this directly
no test coverage detected