aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/fill.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/fill.go')
-rw-r--r--lib/ui/fill.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ui/fill.go b/lib/ui/fill.go
index 3c6f0a5..4d36478 100644
--- a/lib/ui/fill.go
+++ b/lib/ui/fill.go
@@ -1,7 +1,7 @@
package ui
import (
- tb "github.com/nsf/termbox-go"
+ "github.com/gdamore/tcell"
)
type Fill rune
@@ -13,7 +13,7 @@ func NewFill(f rune) Fill {
func (f Fill) Draw(ctx *Context) {
for x := 0; x < ctx.Width(); x += 1 {
for y := 0; y < ctx.Height(); y += 1 {
- ctx.SetCell(x, y, rune(f), tb.ColorDefault, tb.ColorDefault)
+ ctx.SetCell(x, y, rune(f), tcell.StyleDefault)
}
}
}