Class JLine2Talker

  • All Implemented Interfaces:
    Talker

    public class JLine2Talker
    extends Object
    implements Talker
    Handles terminal interaction for Gizmo using the JLine2 library: https://github.com/jline/jline2
    • Method Detail

      • exchange

        public String exchange​(String message)
        Send some output to the user and get some input back
        Specified by:
        exchange in interface Talker
        Parameters:
        message - output to be sent to the user
        Returns:
        the user's response