16 lines
284 B
Go
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])
|
|
})*/
|
|
}
|