blob: 67f835b37199c845e60bfd7262d0189d3732ddac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/// <reference types="node" />
import { Writable } from 'stream';
import { Command } from './command';
/**
* Class responsible for actually writing output onto a writable stream.
*/
export declare class OutputWriter {
private readonly outputStream;
private readonly group;
readonly buffers: string[][];
activeCommandIndex: number;
constructor({ outputStream, group, commands, }: {
outputStream: Writable;
group: boolean;
commands: Command[];
});
write(command: Command | undefined, text: string): void;
private flushBuffer;
}
|