1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-15 17:51:15 +00:00
ctrl/stew/infoSlide.go
2021-07-01 07:29:21 +02:00

20 lines
329 B
Go

package stew
import (
"fmt"
"github.com/rivo/tview"
)
func infoSlide(app *tview.Application) tview.Primitive {
flex := tview.NewFlex()
flex.SetTitle("info")
flex.SetBorder(true)
textView := tview.NewTextView()
flex.AddItem(textView, 0, 1, false)
fmt.Fprintf(textView, "Information page for Stew.\n")
return flex
}