You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
288 B

package main
import "github.com/rivo/tview"
func NewTop(app *App) *Top {
t := &Top{
Text: tview.NewTextView(),
}
t.Text.SetBackgroundColor(app.Config.Style.TopBarBackground)
t.Text.SetTextColor(app.Config.Style.TopBarText)
return t
}
type Top struct {
Text *tview.TextView
}