File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
jdk.internal.le/share/classes/jdk/internal/org/jline
jdk.jshell/share/classes/jdk/internal/jshell/tool Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ private synchronized JdkConsole initializeJLineDelegate() {
164
164
try {
165
165
Terminal terminal = TerminalBuilder .builder ().encoding (charset )
166
166
.exec (false )
167
+ .nativeSignals (false )
167
168
.systemOutput (SystemOutput .SysOut )
168
169
.build ();
169
170
newDelegate = new JdkConsoleImpl (terminal );
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ public int readBuffered(byte[] b) throws IOException {
158
158
terminal = TerminalBuilder .builder ().inputStreamWrapper (in -> {
159
159
input .setInputStream (in );
160
160
return nonBlockingInput ;
161
- }).build ();
161
+ }).nativeSignals ( false ). build ();
162
162
useComplexDeprecationHighlight = !OSUtils .IS_WINDOWS ;
163
163
}
164
164
this .allowIncompleteInputs = allowIncompleteInputs ;
You can’t perform that action at this time.
0 commit comments