1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-07 04:49:17 +00:00
ctrl/stew/infoSlide.go

21 lines
329 B
Go
Raw Normal View History

2021-06-30 10:21:10 +00:00
package stew
import (
"fmt"
"github.com/rivo/tview"
)
2021-06-30 10:21:10 +00:00
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")
2021-06-30 10:21:10 +00:00
return flex
}