(data: string)
| 207 | } |
| 208 | |
| 209 | write(data: string) { |
| 210 | if (this.pty) { |
| 211 | this.pty.write(data); |
| 212 | } else { |
| 213 | console.warn('Warning: Attempted to write to a session with no pty'); |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | resize({cols, rows}: {cols: number; rows: number}) { |
| 218 | if (this.pty) { |