|
@@ -19,6 +19,8 @@ func (p *BorderPreset) UnmarshalTOML(v any) error {
|
|
|
*p = borderPresetThick()
|
|
*p = borderPresetThick()
|
|
|
case "round":
|
|
case "round":
|
|
|
*p = borderPresetRound()
|
|
*p = borderPresetRound()
|
|
|
|
|
+ case "light":
|
|
|
|
|
+ *p = borderPresetLight()
|
|
|
case "hidden":
|
|
case "hidden":
|
|
|
*p = BorderPreset{
|
|
*p = BorderPreset{
|
|
|
Horizontal: ' ',
|
|
Horizontal: ' ',
|
|
@@ -65,3 +67,14 @@ func borderPresetRound() BorderPreset {
|
|
|
BottomRight: tview.BoxDrawingsLightArcUpAndLeft,
|
|
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,
|
|
|
|
|
+ }
|
|
|
|
|
+}
|