mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
An experimental attempt to kill the zombie processes
This commit is contained in:
committed by
Chris Cummer
parent
202d5ca95e
commit
62502c24d0
@@ -60,13 +60,13 @@ func (widget *Widget) contentFrom(items []Item) string {
|
||||
|
||||
str := ""
|
||||
for _, item := range items {
|
||||
str = str + widget.display(item)
|
||||
str = str + widget.format(item)
|
||||
}
|
||||
|
||||
return str
|
||||
}
|
||||
|
||||
func (widget *Widget) display(item Item) string {
|
||||
func (widget *Widget) format(item Item) string {
|
||||
var str string
|
||||
|
||||
if item.IsOneDay() {
|
||||
|
||||
Reference in New Issue
Block a user