1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Merge branch 'master' of github.com:senorprogrammer/wtf

This commit is contained in:
Chris Cummer
2018-08-30 08:16:24 -07:00
8 changed files with 189 additions and 25 deletions

View File

@@ -113,6 +113,13 @@ func RightAlignFormat(view *tview.TextView) string {
return fmt.Sprintf("%%%ds", w-1)
}
func DefaultRowColor() string {
foreColor := Config.UString("wtf.colors.foreground", "white")
backColor := Config.UString("wtf.colors.background", "black")
return fmt.Sprintf("%s:%s", foreColor, backColor)
}
func DefaultFocussedRowColor() string {
foreColor := Config.UString("wtf.colors.highlight.fore", "black")
backColor := Config.UString("wtf.colors.highlight.back", "orange")