Upstream objects call this method to provide inputs to this object.
/** @sealed */ writeChunk(chunk: ITerminalChunk): void;
The subclass provides its implementation via the the TerminalWritable.onWriteChunk() method, which is called by
The object that calls
writeChunk() must call
close() when it is finished; failing to do so may introduce a resource leak, or may prevent some buffered data from being written.