Implement tcell-based renderer

This commit is contained in:
Michael Kelley authored and Junegunn Choi committed 2016-11-07 02:32:14 +09:00
1 parent 0c573b3dff
commit 26895da969
7 files changed
+558 -162

No files matched your search

+4 -1
View File
@@ -2,6 +2,7 @@ package fzf
import (
"fmt"
"io/ioutil"
"testing"
"github.com/junegunn/fzf/src/tui"
@@ -336,7 +337,9 @@ func TestDefaultCtrlNP(t *testing.T) {
check([]string{"--bind=ctrl-n:accept"}, tui.CtrlN, actAccept)
check([]string{"--bind=ctrl-p:accept"}, tui.CtrlP, actAccept)
hist := "--history=/tmp/fzf-history"
f, _ := ioutil.TempFile("", "fzf-history")
f.Close()
hist := "--history=" + f.Name()
check([]string{hist}, tui.CtrlN, actNextHistory)
check([]string{hist}, tui.CtrlP, actPreviousHistory)