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
2025-07-22 19:19:15 +09:00
parent 08027e7a79
commit 069d71a840

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: ' ',