mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-17 18:45:10 +00:00
Fix ineffective break statement
This commit is contained in:
parent
8d2fcd3518
commit
89e24bf8f2
@ -1055,10 +1055,9 @@ func (t *Terminal) printPreview() {
|
||||
}
|
||||
return fillRet == tui.FillContinue
|
||||
})
|
||||
switch fillRet {
|
||||
case tui.FillNextLine:
|
||||
if fillRet == tui.FillNextLine {
|
||||
continue
|
||||
case tui.FillSuspend:
|
||||
} else if fillRet == tui.FillSuspend {
|
||||
break
|
||||
}
|
||||
t.pwindow.Fill("\n")
|
||||
|
Loading…
Reference in New Issue
Block a user