Skip to content
  • Lubomir Rintel's avatar
    cli: use a palette to implement coloring · 31aa2cfe
    Lubomir Rintel authored
    This basically replaces the (NMMetaTermColor, NMMetaTermFormat) combo
    with NMMetaColor that describes the colored element semantically as
    opposed to storing the raw attributes.
    
    A (currently static) paletted is used to translate the semantic color
    code to the actual ANSI controle sequence. This matches what
    terminal-colors.d(5) schemes use, making it convenient to implement
    customizable palettes.
    31aa2cfe