printfdebugging.gno
0.40 Kb ยท 19 lines
1// this package is a joke... or not.
2package printfdebugging
3
4import (
5 "strings"
6
7 "gno.land/p/demo/ufmt"
8)
9
10func BigRedLine(args ...string) {
11 println(ufmt.Sprintf("%s[%dm####################################%s[%dm %s",
12 Escape, int(BgRed), Escape, int(Reset),
13 strings.Join(args, " "),
14 ))
15}
16
17func Success() {
18 println(" \033[31mS\033[33mU\033[32mC\033[36mC\033[34mE\033[35mS\033[31mS\033[0m ")
19}