Fix rendering error when hiding a preview window without border

This was a regression introduced in cdcab267.

Fix #4465
This commit is contained in:
Junegunn Choi committed 2025-07-22 19:23:10 +09:00
1 parent 08027e7a79
commit 069d71a840
1 file changed
+1 -1
+1 -1
View File
@@ -504,7 +504,7 @@ type BorderCharacter int
func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle {
if shape == BorderNone || shape == BorderPhantom {
return BorderStyle{
shape: shape,
shape: BorderRounded,
top: ' ',
bottom: ' ',
left: ' ',