Skip to content

Commit

Permalink
[GR-45896] Backport: upgrade JLine3 to 3.23.
Browse files Browse the repository at this point in the history
PullRequest: truffleruby/3833
  • Loading branch information
steve-s authored and gilles-duboscq committed May 31, 2023
2 parents b210491 + 975a502 commit 6ccde34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mx.truffleruby/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "regex",
"subdir": True,
"version": "a3e84712de5299897890a882227d540324ba2e93",
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand All @@ -16,7 +16,7 @@
{
"name": "sulong",
"subdir": True,
"version": "a3e84712de5299897890a882227d540324ba2e93",
"version": "fa8a4eb585805b7ee82bcb5c82e7dbc0dd081136",
"urls": [
{"url": "https://github.com/oracle/graal.git", "kind": "git"},
{"url": "https://curio.ssw.jku.at/nexus/content/repositories/snapshots", "kind": "binary"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import org.graalvm.shadowed.org.jline.terminal.Terminal;
import org.graalvm.shadowed.org.jline.terminal.impl.DumbTerminal;
import org.graalvm.shadowed.org.jline.terminal.impl.ExecPty;
import org.graalvm.shadowed.org.jline.terminal.spi.TerminalProvider;
import org.truffleruby.RubyContext;
import org.truffleruby.RubyLanguage;
import org.truffleruby.core.support.RubyIO;
Expand Down Expand Up @@ -124,7 +125,7 @@ private ConsoleHolder(
terminal = new PosixSysTerminalKeepSignalHandlers(
"TruffleRuby",
getType(),
ExecPty.current(),
ExecPty.current(TerminalProvider.Stream.Output),
StandardCharsets.UTF_8);
} else {
try (Terminal inherit = new DumbTerminal(in.getIn(), out.getOut())) {
Expand Down

0 comments on commit 6ccde34

Please sign in to comment.