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
+1
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)
}