(term: xterm.Terminal, data: string)
| 10 | import fetchCast from './CastFetcher' |
| 11 | |
| 12 | function writeSync(term: xterm.Terminal, data: string) { |
| 13 | if (data.length) { |
| 14 | (<any>term)._core.writeSync(data) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | function createTerminal(options: IPlayerOptions): xterm.Terminal { |
| 19 | const opts: xterm.ITerminalOptions = { |