From 0c573b3dffe806253e1df2447754a5f3939a11f0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 24 Oct 2016 09:44:56 +0900 Subject: Prepare for termbox/windows build `TAGS=termbox make` (or `go build -tags termbox`) --- src/ansi_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ansi_test.go') diff --git a/src/ansi_test.go b/src/ansi_test.go index 0ba9e400..3afcc6c5 100644 --- a/src/ansi_test.go +++ b/src/ansi_test.go @@ -4,14 +4,14 @@ import ( "fmt" "testing" - "github.com/junegunn/fzf/src/curses" + "github.com/junegunn/fzf/src/tui" ) func TestExtractColor(t *testing.T) { - assert := func(offset ansiOffset, b int32, e int32, fg int, bg int, bold bool) { - var attr curses.Attr + assert := func(offset ansiOffset, b int32, e int32, fg tui.Color, bg tui.Color, bold bool) { + var attr tui.Attr if bold { - attr = curses.Bold + attr = tui.Bold } if offset.offset[0] != b || offset.offset[1] != e || offset.color.fg != fg || offset.color.bg != bg || offset.color.attr != attr { -- cgit v1.2.3