(outputStream)
| 4 | class Terminal{ |
| 5 | |
| 6 | constructor(outputStream){ |
| 7 | this.stream = outputStream; |
| 8 | |
| 9 | // default: line wrapping enabled |
| 10 | this.linewrap = true; |
| 11 | |
| 12 | // current, relative y position |
| 13 | this.dy = 0; |
| 14 | } |
| 15 | |
| 16 | // save cursor position + settings |
| 17 | cursorSave(){ |
nothing calls this directly
no outgoing calls
no test coverage detected