Best-effort terminal capabilities, populated either from environment variables (see Capabilities.detect) or supplied explicitly by tests.
Value parameters
- bracketedPaste
-
True if the terminal is expected to honour xterm bracketed-paste mode (
CSI ?2004h). When false the runtime does not enable the mode at startup and the parser will see the pasted bytes as a stream of individual keypresses, just as if the user had typed them. - colorDepth
-
Maximum color depth the renderer should emit. Higher-depth colors are downgraded to this depth at render time.
- extendedStyles
-
True if the terminal is expected to honour the extended SGR attributes (Style.italic, Style.dim, Style.reverse, Style.strikethrough, Style.blink). When false, the renderer strips these codes and emits only the universally-supported Style.bold / Style.underline attributes.
- mouse
-
True if the terminal advertises mouse support (
xterm-family$TERMvalues,screen,tmux,alacritty,rxvt,linux). - notifications
-
How
Cmd.RequestAttentionandCmd.Notifyreach the user. See NotificationKind. - unicode
-
True if the terminal claims a UTF-8 locale.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any