mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
WIP Git widget
This commit is contained in:
committed by
Chris Cummer
parent
d3cd19fd8f
commit
f6e7a2c030
@@ -36,6 +36,7 @@ func (widget *Widget) Refresh() {
|
||||
widget.View.SetTitle(fmt.Sprintf(" 👽 Away (%d) ", len(items)))
|
||||
widget.RefreshedAt = time.Now()
|
||||
|
||||
widget.View.Clear()
|
||||
fmt.Fprintf(widget.View, "%s", widget.contentFrom(items))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user