MCPcopy Index your code
hub / github.com/JavaCS3/xterm-player / writeSync

Function writeSync

src/Player.ts:12–16  ·  view source on GitHub ↗
(term: xterm.Terminal, data: string)

Source from the content-addressed store, hash-verified

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

Callers 1

_renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected