From 57168b8f5c1e32056d2acbf3e1d69432333e1c0c Mon Sep 17 00:00:00 2001 From: Lorenz Wrobel <43410952+DasBabyPixel@users.noreply.github.com> Date: Fri, 20 Sep 2024 01:22:35 +0200 Subject: [PATCH] fix typo: inMode -> outMode --- .../java/org/jline/terminal/impl/ffm/NativeWinSysTerminal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal-ffm/src/main/java/org/jline/terminal/impl/ffm/NativeWinSysTerminal.java b/terminal-ffm/src/main/java/org/jline/terminal/impl/ffm/NativeWinSysTerminal.java index dc100b275..471093fc4 100644 --- a/terminal-ffm/src/main/java/org/jline/terminal/impl/ffm/NativeWinSysTerminal.java +++ b/terminal-ffm/src/main/java/org/jline/terminal/impl/ffm/NativeWinSysTerminal.java @@ -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();