mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make jenkins widget interactive
This commit is contained in:
committed by
Anand Sudhir Prayaga
parent
dccf04a27a
commit
d4853f7cfd
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user