shiny-pancake/internal/gui/tabbar.go
2020-11-08 07:33:07 -06:00

16 lines
284 B
Go

package gui
import (
"github.com/rivo/tview"
)
func newTabBar() *tview.TextView {
return tview.NewTextView().
SetDynamicColors(true).
SetRegions(true).
SetWrap(false)/*.
SetHighlightedFunc(func(added, removed, remaining []string) {
g.pages.SwitchToPage(added[0])
})*/
}