1234567891011module juptune.core.util.ansi;
nothrow @nogc struct AnsiSection
{
/++ VARIABLES ++/
/// true if the slice is an ANSI sequence, false if it's just text.
bool isAnsiSequence;
/// The slice of text that this section consists of.
const char[] slice;
}
The resulting object from AnsiSectionRange, describes whether a slice of text is an ANSI sequence or not.
CONSTANTS
| Name | Description |
|---|---|
| isAnsiSequence |
|
| slice |
The slice of text that this section consists of. |