terminus
Members list
Type members
Classlikes
Attributes
- Source
- AlternateScreenMode.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- ApplicationMode.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- Color.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- Cursor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Functionalities related to the dimensions of the terminal
Functionalities related to the dimensions of the terminal
Attributes
- Source
- Dimensions.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Companion
- object
- Source
- Types.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Eof
Attributes
- Companion
- trait
- Source
- Types.scala
- Supertypes
- Self type
-
Eof.type
Attributes
- Source
- Erase.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- Format.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Companion
- object
- Source
- JLineTerminal.scala
- Supertypes
-
trait TerminalKeyReadertrait Terminaltrait Readertrait Peekertrait NonBlockingReadertrait KeyReadertrait Erasetrait Dimensionstrait WithToggle[Terminal]trait Cursortrait Writertrait Effecttrait ApplicationMode[Terminal]trait AlternateScreenMode[Terminal]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- JLineTerminal.scala
- Supertypes
-
trait Writertrait Readertrait RawModetrait ApplicationModetrait AlternateScreenModetrait Erasetrait Dimensionstrait Formattrait Cursortrait Colorclass Objecttrait Matchableclass AnyShow all
- Self type
-
JLineTerminal.type
Represents a key press. The information is split between the key code and any modifiers that were pressed. We only interpret modifiers if the terminal passes that information to us. So, for example, 'A' is not represented as Shift + 'a' as the terminal does not send that information.
Represents a key press. The information is split between the key code and any modifiers that were pressed. We only interpret modifiers if the terminal passes that information to us. So, for example, 'A' is not represented as Shift + 'a' as the terminal does not send that information.
The majority of special keys (up as arrow keys and function keys) as defined as constants on the companion object.
Attributes
Attributes
- Source
- KeyCode.scala
- Supertypes
Attributes
- Source
- KeyModifier.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
KeyModifier.type
Attributes
- Source
- KeyReader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Terminal
A Terminal implementation for Scala Native.
A Terminal implementation for Scala Native.
Attributes
- Source
- NativeTerminal.scala
- Supertypes
-
trait TerminalKeyReadertrait WithEffect[Terminal]trait Terminaltrait Readertrait Peekertrait NonBlockingReadertrait KeyReadertrait Erasetrait Dimensionstrait WithToggle[Terminal]trait Cursortrait Writertrait Effecttrait ApplicationMode[Terminal]trait AlternateScreenMode[Terminal]class Objecttrait Matchableclass AnyShow all
- Self type
-
NativeTerminal.type
Attributes
- Source
- NonBlockingReader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Terminal
Attributes
- Source
- Peeker.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Terminal
Attributes
- Source
- RawMode.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- Reader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Companion
- object
- Source
- StringBuilderTerminal.scala
- Supertypes
-
trait Erasetrait Format[StringBuilderTerminal]trait WithToggle[StringBuilderTerminal]trait Cursortrait Writertrait Effecttrait Color[StringBuilderTerminal]trait WithStack[StringBuilderTerminal]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- StringBuilderTerminal.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Source
- Terminal.scala
- Supertypes
-
trait Readertrait Peekertrait NonBlockingReadertrait KeyReadertrait Erasetrait Dimensionstrait WithToggle[Terminal]trait Cursortrait Writertrait Effecttrait ApplicationMode[Terminal]trait AlternateScreenMode[Terminal]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class JLineTerminalobject NativeTerminal
Attributes
- Companion
- trait
- Source
- Terminal.scala
- Supertypes
-
trait Writertrait Readertrait RawModetrait Peekertrait NonBlockingReadertrait KeyReadertrait Formattrait Erasetrait Dimensionstrait Cursortrait Colortrait ApplicationModetrait AlternateScreenModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
Terminal.type
An abstraction over the c termios library that contains only the functionality that we need, hiding the details of reading, updating, and writing terminal settings from the caller. The details are handled by a TermiosAccess typeclass instance.
An abstraction over the c termios library that contains only the functionality that we need, hiding the details of reading, updating, and writing terminal settings from the caller. The details are handled by a TermiosAccess typeclass instance.
Type parameters
- T
-
The termios structure type a Termios instance uses. See TermiosStruct for more details
Value parameters
- accessor
-
An instance of TermiosAccess used to handle the actual reading, updating, and writing of terminal settings.
Attributes
- See also
-
TermiosAccess
TermiosStruct
- Source
- Termios.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Typeclass for handling the messiness of reading, updating, and writing termios structs in a platform specific way.
Typeclass for handling the messiness of reading, updating, and writing termios structs in a platform specific way.
Unfortunately, while all POSIX operating systems have termios.h
defined, there termios
structure is inconsistent in the size of the bitflags used to hold the terminal settings. As an example, Linux uses CInt to hold bitflags while OSX uses CLong.
At the time of this writing, the Scala Native implementation does not currently handle OS specific differences in
Type parameters
- T
-
The type of the termios structure, should be on of either TermiosStruct.cint_flags or TermiosStruct.clong_flags. At the time of writing this documentation, these are the only known variants of the termios struct. If more are found in the future, they should be added.
Attributes
- See also
- Source
- TermiosAccess.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Type aliases for the two possible termios structures, one with CInt bitflags and one with CLong bitflags. CLong types are the default in scala-native, however linux (and probably more operating systems) use CInt bitflags. Each of these types has a terminus.TermiosAccess instance to handle access and manipulation of termios structures in a platform specific manner.
Type aliases for the two possible termios structures, one with CInt bitflags and one with CLong bitflags. CLong types are the default in scala-native, however linux (and probably more operating systems) use CInt bitflags. Each of these types has a terminus.TermiosAccess instance to handle access and manipulation of termios structures in a platform specific manner.
Attributes
- See also
- Source
- TermiosStruct.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TermiosStruct.type
Attributes
- Companion
- object
- Source
- Types.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Timeout
Attributes
- Companion
- trait
- Source
- Types.scala
- Supertypes
- Self type
-
Timeout.type
Interface for writing to a console.
Interface for writing to a console.
Attributes
- Source
- Writer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object JLineTerminalobject Terminal
Attributes
- Source
- Prompt.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Source
- Prompt.scala
Givens
Givens
TermiosAccess instance for structs with CInt bitflags
TermiosAccess instance for structs with CLong bitflags
Extensions
Extensions
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Attributes
- Source
- KeyModifier.scala
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct
Extension methods to simplify modifying a termios struct