Interface TerminalInputListener


public interface TerminalInputListener
Receives terminal input.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    character(char ch)
    Called when a character is typed.
    void
    Called when a control key is typed.
    void
    Called on the end of input.
  • Method Details

    • character

      void character(char ch)
      Called when a character is typed. Note that this method is not called for the 'enter' key.
    • controlKey

      void controlKey(TerminalInputListener.Key key)
      Called when a control key is typed.
    • endInput

      void endInput()
      Called on the end of input.