aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index adcd90a..52c60ec 100644
--- a/main.go
+++ b/main.go
@@ -12,7 +12,7 @@ func drawSquare(scr tcell.Screen, xOffset, yOffset, w, h int, style tcell.Style)
x := xOffset + dx
for dy := 0; dy < h; dy++ {
y := yOffset + dy
- scr.SetCell(x, y, style, ' ')
+ scr.SetContent(x, y, ' ', nil, style)
}
}
}