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
|
return fillRet == tui.FillContinue
|
||||||
})
|
})
|
||||||
switch fillRet {
|
if fillRet == tui.FillNextLine {
|
||||||
case tui.FillNextLine:
|
|
||||||
continue
|
continue
|
||||||
case tui.FillSuspend:
|
} else if fillRet == tui.FillSuspend {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
t.pwindow.Fill("\n")
|
t.pwindow.Fill("\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user