Trait/Object

grizzled.readline

Readline

Related Docs: object Readline | package readline

Permalink

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

    Permalink

    Whether or not to add lines to the history automatically.

  2. abstract val history: History

    Permalink

    The history buffer.

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

  3. abstract val name: String

    Permalink

    A printable name for the implementation.

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cleanup: Unit

    Permalink

    Cleans up, resetting the terminal to its proper state.

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

  6. def clone(): AnyRef

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

    Permalink

    The completer, if any.

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. def maxShownCompletions: Int

    Permalink

    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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Permalink

    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.

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink

    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
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped