the latest code

This commit is contained in:
ghassan committed 2026-01-26 01:40:48 +03:00
1 parent d28bc1ed43
commit 9bbb24a52b
12226 files changed
+1455579 -21

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import * as Rx from 'rxjs';
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;
readonly error: Rx.Observable<unknown>;
private get errored();
constructor({ outputStream, group, commands, }: {
outputStream: Writable;
group: boolean;
commands: Command[];
});
private ensureWritable;
write(command: Command | undefined, text: string): void;
private flushBuffer;
}