Class JLineIO

java.lang.Object
dev.enola.common.linereader.jline.JLineIO
All Implemented Interfaces:
IO, Closeable, AutoCloseable

public class JLineIO extends Object implements IO, Closeable
JLineIO is an IO implementation based on JLine.org.
  • Constructor Details

    • JLineIO

      public JLineIO() throws IOException
      Throws:
      IOException
    • JLineIO

      public JLineIO(Map<String,String> env, org.jline.terminal.Terminal terminal, org.jline.reader.Parser parser, org.jline.reader.Completer completer, ImmutableMap<String,org.jline.console.CmdDesc> tailTips, @Nullable Function<org.jline.console.CmdLine,org.jline.console.CmdDesc> descFun, boolean disableEventExpansion)
      Constructor.
      Parameters:
      terminal - the Terminal
      parser - the Parser
      completer - the Completer
      disableEventExpansion - whether to disable special handling of magic history expansion commands like "!" and "!!" and "!n" and "!-n" and "!string" and "^string1^string2".
  • Method Details