Style
Reusable terminal style settings.
Calling a Style applies its saved settings. Supplied options override saved
colors or enable additional attributes; omitted options retain saved
settings, and :INHERIT: clears them.
Constructor
Style ...options
Creates a reusable style.
To style text as well, use text.
Parameters
| Name | Type | Description |
|---|---|---|
...options |
The style options. |
Example
Methods
(call) ...args -> Text
Applies or derives the saved style.
Also accepts the style options, which override what is saved.
Parameters
| Name | Type | Description |
|---|---|---|
...args |
Values converted to display strings. |
Returns
Text when positional arguments are given, otherwise a
derived Style.