Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs AnsiSection

1
2
3
4
5
6
7
8
9
10
11
module 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;
}

Documentation

The resulting object from AnsiSectionRange, describes whether a slice of text is an ANSI sequence or not.

CONSTANTS

Variables

Name Description
isAnsiSequence

trueif the slice is an ANSI sequence, falseif it's just text.

slice

The slice of text that this section consists of.