grizzled.readline

Readline

trait Readline extends AnyRef

Defines the readline-like functionality supported by this API. A Readline class provides:

- a means to read lines of input from (presumably) a terminal - a history mechanism - an optional tab-completion capability

Deprecated

Use JLine <https://github.com/jline/jline2>

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Readline
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val autoAddHistory: Boolean

    Whether or not to add lines to the history automatically.

  2. abstract val history: History

    The history buffer.

    The history buffer. The actual implementation depends on the underlying class.

  3. abstract val name: String

    A printable name for the implementation.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cleanup: Unit

    Cleans up, resetting the terminal to its proper state.

    Cleans up, resetting the terminal to its proper state. The default implementation does nothing.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var completer: Completer

    The completer, if any.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def maxShownCompletions: Int

    Get the maximum number of completions to show, when there are multiple completions that match a token (if supported by the underlying library).

    Get the maximum number of completions to show, when there are multiple completions that match a token (if supported by the underlying library).

    returns

    maximum number of completions to show, or 0 for all

  17. def maxShownCompletions_=(max: Int): Unit

    Set the maximum number of completions to show, when there are multiple completions that match a token (if supported by the underlying library).

    Set the maximum number of completions to show, when there are multiple completions that match a token (if supported by the underlying library).

    max

    maximum number of completions to show, or 0 for all

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def readline(prompt: String): Option[String]

    Read a line of input from the console.

    Read a line of input from the console.

    prompt

    the prompt to display before reading.

    returns

    An Option containing the line (e.g., Some(...)) or None on EOF.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Produce a readable version of this object.

    Produce a readable version of this object.

    returns

    a readable version of this object.

    Definition Classes
    Readline → AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped