* Clears the screen from the current position of the cursor down. * @returns {Readline} this
()
| 107 | * @returns {Readline} this |
| 108 | */ |
| 109 | clearScreenDown() { |
| 110 | if (this.#autoCommit) { |
| 111 | process.nextTick(() => this.#stream.write(kClearScreenDown)); |
| 112 | } else { |
| 113 | ArrayPrototypePush(this.#todo, kClearScreenDown); |
| 114 | } |
| 115 | return this; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Sends all the pending actions to the associated `stream` and clears the |
no test coverage detected