Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Oct 4, 2023
1 parent 213e3d3 commit fa17e9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/fusesource/jansi/internal/stty/Stty.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ public final class Stty {
String[] paths = path.split(File.pathSeparator);

for (String p : paths) {
File ttyFile = new File(p, "tty.exe");
File ttyFile = new File(p, tty);
if (ttyFile.canExecute()) {
tty = ttyFile.getAbsolutePath();
break;
}
}

for (String p : paths) {
File sttyFile = new File(p, "stty.exe");
File sttyFile = new File(p, stty);
if (sttyFile.canExecute()) {
stty = sttyFile.getAbsolutePath();
break;
Expand Down

0 comments on commit fa17e9e

Please sign in to comment.