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

Remove unused interface

This commit is contained in:
Junegunn Choi
2024-12-14 22:31:28 +09:00
parent cdcab26766
commit 805efc5bf1
4 changed files with 0 additions and 12 deletions

View File

@@ -1539,20 +1539,16 @@ func (t *Terminal) resizeWindows(forcePreview bool, redrawBorder bool) {
t.prevLines = make([]itemLine, screenHeight)
if t.border != nil && redrawBorder {
t.border.Close()
t.border = nil
}
if t.window != nil {
t.window.Close()
t.window = nil
}
if t.pborder != nil {
t.pborder.Close()
t.pborder = nil
}
hadPreviewWindow := t.hasPreviewWindow()
if hadPreviewWindow {
t.pwindow.Close()
t.pwindow = nil
}
// Reset preview version so that full redraw occurs