Home > @rushstack/terminal > TerminalTransform > preventDestinationAutoclose
TerminalTransform.preventDestinationAutoclose property
Prevents the TerminalTransform.destination object from being closed automatically when the transform is closed.
Signature:
readonly 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.