Add --border=[bold|double] and --preview-window=border-[bold|double]

This commit is contained in:
Junegunn Choi committed 2022-11-06 14:38:31 +09:00
1 parent f984aa0d2c
commit 01ae621f11
7 files changed
+75 -30

No files matched your search

+1 -1
View File
@@ -712,7 +712,7 @@ func (r *LightRenderer) NewWindow(top int, left int, width int, height int, prev
func (w *LightWindow) drawBorder() {
switch w.border.shape {
case BorderRounded, BorderSharp:
case BorderRounded, BorderSharp, BorderBold, BorderDouble:
w.drawBorderAround()
case BorderHorizontal:
w.drawBorderHorizontal(true, true)