Add style for "red letter" days in drw/drw.go

This commit is contained in:
Petar Kapriš 2024-07-15 19:43:08 +02:00
parent 5574f20de8
commit 62c969b015

View file

@ -27,6 +27,10 @@ var (
Background(tcell.ColorReset).
Foreground(tcell.GetColor("green")).
Bold(true)
HolyStyle tcell.Style = tcell.StyleDefault.
Background(tcell.ColorReset).
Foreground(tcell.GetColor("red")).
Bold(true)
)
func centeredText(s string, x, y, width int, scr tcell.Screen, style tcell.Style) {