mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-14 06:13:47 -05:00
Fix #172 - Print empty line when fzf with expect finished by -1 or -0
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user