diff --git a/internal/config/border.go b/internal/config/border.go index 50fc497..031215e 100644 --- a/internal/config/border.go +++ b/internal/config/border.go @@ -19,6 +19,8 @@ func (p *BorderPreset) UnmarshalTOML(v any) error { *p = borderPresetThick() case "round": *p = borderPresetRound() + case "light": + *p = borderPresetLight() case "hidden": *p = BorderPreset{ Horizontal: ' ', @@ -65,3 +67,14 @@ func borderPresetRound() BorderPreset { BottomRight: tview.BoxDrawingsLightArcUpAndLeft, } } + +func borderPresetLight() BorderPreset { + return BorderPreset{ + Horizontal: tview.BoxDrawingsLightHorizontal, + Vertical: tview.BoxDrawingsLightVertical, + TopLeft: tview.BoxDrawingsLightDownAndRight, + TopRight: tview.BoxDrawingsLightDownAndLeft, + BottomLeft: tview.BoxDrawingsLightUpAndRight, + BottomRight: tview.BoxDrawingsLightUpAndLeft, + } +}