mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-09 07:29:11 +00:00
Clear background even if background color is not set
This is needed when fzf is started from inside a program (e.g. Vim) and it uses a different background color than the terminal. - https://github.com/junegunn/fzf.vim/issues/325 - https://github.com/junegunn/fzf.vim/issues/300
This commit is contained in:
parent
cd59e5d07b
commit
c89ac341e4
@ -600,7 +600,7 @@ func (t *Terminal) resizeWindows() {
|
|||||||
width,
|
width,
|
||||||
height, tui.BorderNone)
|
height, tui.BorderNone)
|
||||||
}
|
}
|
||||||
if !t.tui.IsOptimized() && t.theme != nil && t.theme.HasBg() {
|
if !t.tui.IsOptimized() {
|
||||||
for i := 0; i < t.window.Height(); i++ {
|
for i := 0; i < t.window.Height(); i++ {
|
||||||
t.window.MoveAndClear(i, 0)
|
t.window.MoveAndClear(i, 0)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user