Skip to content

Commit

Permalink
fix typo: inMode -> outMode (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
DasBabyPixel authored Sep 20, 2024
1 parent 8b63743 commit 0a11a7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static NativeWinSysTerminal createTerminal(
type = type != null ? type : OSUtils.IS_CONEMU ? TYPE_WINDOWS_CONEMU : TYPE_WINDOWS;
writer = new NativeWinConsoleWriter();
} else {
int m = inMode.get(java.lang.foreign.ValueLayout.JAVA_INT, 0);
int m = outMode.get(java.lang.foreign.ValueLayout.JAVA_INT, 0);
if (enableVtp(console, m)) {
type = type != null ? type : TYPE_WINDOWS_VTP;
writer = new NativeWinConsoleWriter();
Expand Down

0 comments on commit 0a11a7b

Please sign in to comment.