summaryrefslogtreecommitdiffstats
path: root/pkg/draw/full.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/draw/full.go')
-rw-r--r--pkg/draw/full.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/draw/full.go b/pkg/draw/full.go
index 6f234b0..dccdd9f 100644
--- a/pkg/draw/full.go
+++ b/pkg/draw/full.go
@@ -2,10 +2,12 @@ package draw
var _ Pixels = &Full{}
+const fullBlock = '█'
+
type Full struct{ *Buffer }
func (b *Full) Size() Box { return b.Box }
-func (b *Full) Set(y, x int) { b.Buffer.Set(y, x, '█') }
+func (b *Full) Set(y, x int) { b.Buffer.Set(y, x, fullBlock) }
func (b *Full) Clear() { b.Fill(' ') }