(stringToWrite)
| 479 | } |
| 480 | |
| 481 | [kWriteToOutput](stringToWrite) { |
| 482 | validateString(stringToWrite, 'stringToWrite'); |
| 483 | |
| 484 | if (this.output !== null && this.output !== undefined) { |
| 485 | this.output.write(stringToWrite); |
| 486 | } |
| 487 | } |
| 488 | |
| 489 | [kAddHistory]() { |
| 490 | return this.historyManager.addHistory(this[kIsMultiline], this[kLastCommandErrored]); |