m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-13 22:03:47 -05:00

Fix failing test case

This commit is contained in:
Junegunn Choi
2022-07-20 12:29:45 +09:00
parent 82b46726fc
commit 821fc9feed
2 changed files with 7 additions and 6 deletions

View File

@@ -1247,6 +1247,7 @@ func parsePreviewWindow(opts *previewOpts, input string) {
if len(alternative) > 0 {
alternativeOpts := *opts
opts.alternative = &alternativeOpts
opts.alternative.hidden = false
opts.alternative.alternative = nil
parsePreviewWindow(opts.alternative, alternative)
}