Made buffer's dot private
This commit is contained in:
@@ -47,8 +47,7 @@ func redraw () {
|
||||
text := "RAINBOW :D"
|
||||
width, height := application.Size()
|
||||
|
||||
application.Dot.X = (width - len(text)) / 2
|
||||
application.Dot.Y = height / 2
|
||||
application.SetDot((width - len(text)) / 2, height / 2)
|
||||
fmt.Fprintln(application, text)
|
||||
|
||||
application.SetColor(0, 0, stone.ColorYellow)
|
||||
|
||||
Reference in New Issue
Block a user