Package

ammonite

terminal

Permalink

package terminal

Visibility
  1. Public
  2. All

Type Members

  1. class Ansi extends AnyRef

    Permalink
  2. case class ClearScreen(ts: TermState) extends TermAction with Product with Serializable

    Permalink
  3. case class LazyList[T](headThunk: () ⇒ T, tailThunk: () ⇒ LazyList[T]) extends Product with Serializable

    Permalink

    A truly-lazy implementation of scala.Stream

  4. case class Printing(ts: TermState, stdout: String) extends TermAction with Product with Serializable

    Permalink
  5. case class Result(s: String) extends TermAction with Product with Serializable

    Permalink
  6. sealed trait TermAction extends AnyRef

    Permalink
  7. case class TermInfo(ts: TermState, width: Int) extends Product with Serializable

    Permalink
  8. case class TermState(inputs: LazyList[Int], buffer: Vector[Char], cursor: Int) extends TermAction with Product with Serializable

    Permalink

Value Members

  1. object BasicFilters

    Permalink

    Filters for simple operation of a terminal: cursor-navigation (including with all the modifier keys), enter/ctrl-c-exit, etc.

  2. object Debug

    Permalink
  3. object Exit extends TermAction with Product with Serializable

    Permalink
  4. object FilterTools

    Permalink

    A collection of helpers that to simpify the common case of building filters

  5. object GUILikeFilters

    Permalink

    Filters have hook into the various {Ctrl,Shift,Fn,Alt}x{Up,Down,Left,Right} combination keys, and make them behave similarly as they would on a normal GUI text editor: alt-{left, right} for word movement, hold-down-shift for text selection, etc.

  6. object LazyList extends Serializable

    Permalink
  7. object ReadlineFilters

    Permalink

    Filters for injection of readline-specific hotkeys, the sort that are available in bash, python and most other interactive command-lines

  8. object SpecialKeys

    Permalink

    One place to assign all the esotic control key input snippets to easy-to-remember names

  9. object TTY

    Permalink
  10. object TermCore

    Permalink

    The core logic around a terminal; it defines the base filters API through which anything (including basic cursor-navigation and typing) interacts with the terminal.

    The core logic around a terminal; it defines the base filters API through which anything (including basic cursor-navigation and typing) interacts with the terminal.

    Maintains basic invariants, such as "cursor should always be within the buffer", and "ansi terminal should reflect most up to date TermState"

  11. object TermState extends Serializable

    Permalink

Ungrouped