Add 'gap-line' color for the horizontal line on each gap

Color inheritance: border >> list-border >> gap-line
This commit is contained in:
Junegunn Choi
2025-01-18 13:47:25 +09:00
parent 0a10d14e19
commit c1875af70b
4 changed files with 13 additions and 1 deletions

View File

@@ -1262,6 +1262,8 @@ func parseTheme(defaultTheme *tui.ColorTheme, str string) (*tui.ColorTheme, erro
mergeAttr(&theme.Header)
case "header-bg":
mergeAttr(&theme.HeaderBg)
case "gap-line":
mergeAttr(&theme.GapLine)
default:
fail()
}