From 069d71a8401530028e2ea407904462ef8c435d88 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 22 Jul 2025 19:19:15 +0900 Subject: [PATCH] Fix rendering error when hiding a preview window without border This was a regression introduced in cdcab267. Fix #4465 --- src/tui/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/tui.go b/src/tui/tui.go index 02b9b093..a91e93e2 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -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: ' ',