ammonite.terminal
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TermActionclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConsoleDim.type
Prints stuff to an ad-hoc logging file when running the ammonite repl or ammonite-terminal in development mode in its SBT project.
Prints stuff to an ad-hoc logging file when running the ammonite repl or ammonite-terminal in development mode in its SBT project.
Very handy for the common case where you're debugging terminal interactions and cannot use println because it will stomp all over your already messed up terminal state and block debugging. With Debug, you can have a separate terminal open tailing the log file and log as verbosely as you want without affecting the primary terminal you're using to interact with Ammonite.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Debug.type
A filter as an abstract class, letting you provide a filter instead of an op, automatically providing a good .toString for debugging, and providing a reasonable "place" inside the inheriting class/object to put state or helpers or other logic associated with the filter.
A filter as an abstract class, letting you provide a filter instead of an op, automatically providing a good .toString for debugging, and providing a reasonable "place" inside the inheriting class/object to put state or helpers or other logic associated with the filter.
Attributes
- Supertypes
- Known subtypes
A small helper class to quickly define enumerations: extend this class in your companion object and define the items via val a, b, c = Item(...) passing in your enum class constructor in place of ....
A small helper class to quickly define enumerations: extend this class in your companion object and define the items via val a, b, c = Item(...) passing in your enum class constructor in place of ....
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object UndoState
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait TermActionclass Objecttrait Matchableclass AnyShow all
- Self type
-
Exit.type
The way you configure your terminal behavior; a trivial wrapper around a function, though you should provide a good .toString method to make debugging easier. The TermInfo and TermAction types are its interface to the terminal.
The way you configure your terminal behavior; a trivial wrapper around a function, though you should provide a good .toString method to make debugging easier. The TermInfo and TermAction types are its interface to the terminal.
Filters are composed sequentially: if a filter returns None the next filter is tried, while if a filter returns Some that ends the cascade. While your op function interacts with the terminal purely through immutable case classes, the Filter itself is free to maintain its own state and mutate it whenever, even when returning None to continue the cascade.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DelegateFilterclass SelectionFilterclass HistoryFilterclass CutPasteFilterclass UndoFilter
A collection of helpers that to simpify the common case of building filters
A collection of helpers that to simpify the common case of building filters
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FilterTools.type
A truly-lazy implementation of scala.Stream
A truly-lazy implementation of scala.Stream
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Encapsulates the common configuration and logic around reading a single line of input
Encapsulates the common configuration and logic around reading a single line of input
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LineReader.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TermActionclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TermActionclass Objecttrait Matchableclass AnyShow all
One place to assign all the esotic control key input snippets to easy-to-remember names
One place to assign all the esotic control key input snippets to easy-to-remember names
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SpecialKeys.type
Implicitly instantiated class letting you pass in a single string or a sequence of strings anywhere a set of prefixes is required
Implicitly instantiated class letting you pass in a single string or a sequence of strings anywhere a set of prefixes is required
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TermActionclass Objecttrait Matchableclass AnyShow all
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"
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Terminal.type