1package printfdebugging23// consts copied from https://github.com/fatih/color/blob/main/color.go45// Attribute defines a single SGR Code6type Attribute int78const Escape = "\x1b"910// Base attributes11const (12 Reset Attribute = iota13 Bold14 Faint15 Italic16 Underline17 BlinkSlow18 BlinkRapid19 ReverseVideo20 Concealed21 CrossedOut22)2324const (25 ResetBold Attribute = iota + 2226 ResetItalic27 ResetUnderline28 ResetBlinking29 _30 ResetReversed31 ResetConcealed32 ResetCrossedOut33)3435// Foreground text colors36const (37 FgBlack Attribute = iota + 3038 FgRed39 FgGreen40 FgYellow41 FgBlue42 FgMagenta43 FgCyan44 FgWhite45)4647// Foreground Hi-Intensity text colors48const (49 FgHiBlack Attribute = iota + 9050 FgHiRed51 FgHiGreen52 FgHiYellow53 FgHiBlue54 FgHiMagenta55 FgHiCyan56 FgHiWhite57)5859// Background text colors60const (61 BgBlack Attribute = iota + 4062 BgRed63 BgGreen64 BgYellow65 BgBlue66 BgMagenta67 BgCyan68 BgWhite69)7071// Background Hi-Intensity text colors72const (73 BgHiBlack Attribute = iota + 10074 BgHiRed75 BgHiGreen76 BgHiYellow77 BgHiBlue78 BgHiMagenta79 BgHiCyan80 BgHiWhite81)82Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.