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

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

Abstract Value Members

  1. val autoAddHistory : Boolean

    Whether or not to add lines to the history automatically.

    Whether or not to add lines to the history automatically.

    Attributes
    abstract
  2. val history : History

    The history buffer.

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

    Attributes
    abstract
  3. val name : String

    A printable name for the implementation.

    A printable name for the implementation.

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

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

    Attributes
    final
    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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. var completer : Completer

    The completer, if any.

  10. def eq (arg0: AnyRef): Boolean

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

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

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

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

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

    Attributes
    final
    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. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    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. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any