Class KeyParser

java.lang.Object
org.jline.terminal.KeyParser

public class KeyParser extends Object
Utility class for parsing raw terminal input sequences into KeyEvent objects.
  • Method Details

    • parse

      public static KeyEvent parse(String rawSequence)
      Parses a raw input sequence into a KeyEvent.
      Parameters:
      rawSequence - the raw input sequence from the terminal
      Returns:
      a KeyEvent representing the parsed input