From cdcab267660473de1621b4a1d8c8f2d4d43f05ae Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 14 Dec 2024 21:50:36 +0900 Subject: Fix redundant clearing of the windows with non-default bg color --- src/tui/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tui') diff --git a/src/tui/tui.go b/src/tui/tui.go index 04d548f4..c5330849 100644 --- a/src/tui/tui.go +++ b/src/tui/tui.go @@ -412,7 +412,7 @@ type BorderCharacter int func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle { if shape == BorderNone { return BorderStyle{ - shape: BorderRounded, + shape: shape, top: ' ', bottom: ' ', left: ' ', -- cgit v1.2.3