* Assert terminal is open (throw if not)
()
| 1219 | * Assert terminal is open (throw if not) |
| 1220 | */ |
| 1221 | private assertOpen(): void { |
| 1222 | if (this.isDisposed) { |
| 1223 | throw new Error('Terminal has been disposed'); |
| 1224 | } |
| 1225 | if (!this.isOpen) { |
| 1226 | throw new Error('Terminal must be opened before use. Call terminal.open(parent) first.'); |
| 1227 | } |
| 1228 | } |
| 1229 | |
| 1230 | /** |
| 1231 | * Handle mouse move for link hover detection and scrollbar dragging |
no outgoing calls
no test coverage detected