mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
19 lines
291 B
Go
19 lines
291 B
Go
package status
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/rivo/tview"
|
|
)
|
|
|
|
func Widget() tview.Primitive {
|
|
widget := tview.NewTextView()
|
|
widget.SetBorder(true)
|
|
widget.SetDynamicColors(true)
|
|
widget.SetTitle(" 🦊 Status ")
|
|
|
|
fmt.Fprintf(widget, "%s", "cats and gods\ndogs and tacs")
|
|
|
|
return widget
|
|
}
|