Home > @rushstack/terminal > ITerminalTransformOptions > preventDestinationAutoclose
ITerminalTransformOptions.preventDestinationAutoclose property
Prevents the TerminalTransform.destination object from being closed automatically when the transform is closed.
Signature:
preventDestinationAutoclose?: boolean;
Remarks
When a transform is closed, normally it will automatically close its destination TerminalWritable object. There are two ways to prevent that: either by setting preventDestinationAutoclose to true for the transform, or by setting TerminalWritable.preventAutoclose to true for the destination object.