libvt.style¶
Terminal cell colors, SGR attributes, and hyperlink metadata.
-
class libvt.style.AnsiColor¶class libvt.style.AnsiColor¶
Bases:
IntEnumStandard and bright ECMA-48 / aixterm 16-color palette indices.
-
class libvt.style.Hyperlink¶class libvt.style.Hyperlink¶
Bases:
objectOSC 8hyperlink attached to printed cells independent ofSGR 0.
-
class libvt.style.IndexedColor¶class libvt.style.IndexedColor¶
Bases:
object256-color palette entry (
SGR 38;5;n/SGR 48;5;n).
-
class libvt.style.RgbColor¶class libvt.style.RgbColor¶
Bases:
object24-bit direct RGB color (
SGR 38;2;r;g;b/SGR 38:2::r:g:b).