org.typelevel.paiges.Style
See theStyle companion object
sealed abstract class Style extends Serializable
Text styling for viewing in a terminal.
This type represents foreground and background colors as well as other text attributes. It uses a CSI sequence (ESC - '[') to start a zero-width string containing one or more numeric codes, separated by ; and ending in 'm'.
Styles can be combined with ++; if two styles would conflict the one on the right wins. For example: (Fg.Red ++ Fg.Green) = Fg.Green.
See https://en.wikipedia.org/wiki/ANSI_escape_code#Escape_sequences for more information about escape sequences.
Attributes
- Companion
- object
- Source
- Style.scala
- Graph
-
- Supertypes
- Self type
Members list
In this article