mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make the travisci module interactive
* Add ability to select and open builds * Add commit message (oneline style) to text displayed in the widget * Add documentation on the new keyboard shortcuts * Cleanup some duplicate code
This commit is contained in:
@@ -66,10 +66,7 @@ func (widget *Widget) displayStats(project *GerritProject) string {
|
||||
|
||||
func (widget *Widget) rowColor(index int) string {
|
||||
if widget.View.HasFocus() && (index == widget.selected) {
|
||||
foreColor := wtf.Config.UString("wtf.colors.highlight.fore", "black")
|
||||
backColor := wtf.Config.UString("wtf.colors.highlight.back", "orange")
|
||||
|
||||
return fmt.Sprintf("%s:%s", foreColor, backColor)
|
||||
return wtf.DefaultFocussedRowColor()
|
||||
}
|
||||
return wtf.RowColor("gerrit", index)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user