mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-19 22:43:50 -07:00
Fix rendering error when hiding a preview window without border
This was a regression introduced in cdcab267
.
Fix #4465
This commit is contained in:
@@ -504,7 +504,7 @@ type BorderCharacter int
|
|||||||
func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle {
|
func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle {
|
||||||
if shape == BorderNone || shape == BorderPhantom {
|
if shape == BorderNone || shape == BorderPhantom {
|
||||||
return BorderStyle{
|
return BorderStyle{
|
||||||
shape: shape,
|
shape: BorderRounded,
|
||||||
top: ' ',
|
top: ' ',
|
||||||
bottom: ' ',
|
bottom: ' ',
|
||||||
left: ' ',
|
left: ' ',
|
||||||
|
Reference in New Issue
Block a user