Class NonCloseableOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.jline.utils.NonCloseableOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class NonCloseableOutputStream extends FilterOutputStream
Wrapper that prevents closing the underlying output stream. Used for system streams (System.out/System.err) to prevent closing the shared FileDescriptor.