diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-31 20:52:16 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-31 20:52:16 +0900 |
commit | 84a7499ae357bc3b3a82890d2e44d9c300af0c13 (patch) | |
tree | 62bdf2c4bff5afd6f0a657831355154e23d63948 /src/core.go | |
parent | 39d7177bd3280ab94e7cf268f91652f580e8ca19 (diff) |
Fix #172 - Print empty line when fzf with expect finished by -1 or -0
Diffstat (limited to 'src/core.go')
-rw-r--r-- | src/core.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core.go b/src/core.go index ebb7d66c..204532b2 100644 --- a/src/core.go +++ b/src/core.go @@ -216,6 +216,9 @@ func Run(options *Options) { if opts.PrintQuery { fmt.Println(opts.Query) } + if len(opts.Expect) > 0 { + fmt.Println() + } for i := 0; i < count; i++ { fmt.Println(val.Get(i).AsString()) } |