diff --git a/_demos/hello_world.go b/_demos/hello_world.go index 231d412..196f0a5 100644 --- a/_demos/hello_world.go +++ b/_demos/hello_world.go @@ -43,7 +43,8 @@ func emitStr(s tcell.Screen, x, y int, style tcell.Style, str string) { func displayHelloWorld(s tcell.Screen) { w, h := s.Size() s.Clear() - emitStr(s, w/2-7, h/2, tcell.StyleDefault, "Hello, World!") + style := tcell.StyleDefault.Foreground(tcell.ColorCadetBlue.TrueColor()).Background(tcell.ColorWhite) + emitStr(s, w/2-7, h/2, style, "Hello, World!") emitStr(s, w/2-9, h/2+1, tcell.StyleDefault, "Press ESC to exit.") s.Show() }