Skip to content

Commit

Permalink
Dumb should not grab process handles
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Jan 23, 2025
1 parent 7fdac1d commit 4c05fc1
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
*/
package org.jline.terminal.impl;

import java.io.FileDescriptor;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
Expand Down Expand Up @@ -46,8 +43,8 @@ public Terminal sysTerminal(
systemStream,
name,
type,
new FileInputStream(FileDescriptor.in),
new FileOutputStream(systemStream == SystemStream.Error ? FileDescriptor.err : FileDescriptor.out),
System.in,
systemStream == SystemStream.Error ? System.err : System.out,
encoding,
signalHandler);
}
Expand Down

0 comments on commit 4c05fc1

Please sign in to comment.