func Start(a *tview.Application) {
	app = a
	view = newServersUI(loadServers())

	topFlex := tview.NewFlex().SetDirection(tview.FlexColumn).
		AddItem(buildAboutUI(), SidebarWidth, 0, false).
		AddItem(buildSearchUI(), 0, 1, true)
	btmFlex := tview.NewFlex().SetDirection(tview.FlexColumn).
		AddItem(buildTipsUI(), SidebarWidth, 0, false).
		AddItem(view.flex, 0, 1, false)

	flex := tview.NewFlex().SetDirection(tview.FlexRow).
		AddItem(topFlex, 3, 0, true).
		AddItem(btmFlex, 0, 1, false)

	flex.SetBackgroundColor(tcell.ColorBlack)
	app.SetInputCapture(onKeyEvent)
	app.SetRoot(flex, true)
}
// Start the selector's render loop
Start the selector's render loop
// Start the selector ' s render loop
func Start(a *tview.Application) {
	app = a
	view = newServersUI(loadServers())
	topFlex := tview.NewFlex().SetDirection(tview.FlexColumn).
		AddItem(buildAboutUI(), SidebarWidth, 0, false).
		AddItem(buildSearchUI(), 0, 1, true)
	btmFlex := tview.NewFlex().SetDirection(tview.FlexColumn).
		AddItem(buildTipsUI(), SidebarWidth, 0, false).
		AddItem(view.flex, 0, 1, false)
	flex := tview.NewFlex().SetDirection(tview.FlexRow).
		AddItem(topFlex, 3, 0, true).
		AddItem(btmFlex, 0, 1, false)
	flex.SetBackgroundColor(tcell.ColorBlack)
	app.SetInputCapture(onKeyEvent)
	app.SetRoot(flex, true)
}
func Start ( a * tview . Application ) { app = a view = newServersUI ( loadServers ( ) ) topFlex := tview . NewFlex ( ) . SetDirection ( tview . FlexColumn ) . AddItem ( buildAboutUI ( ) , SidebarWidth , 0 , false ) . AddItem ( buildSearchUI ( ) , 0 , 1 , true ) btmFlex := tview . NewFlex ( ) . SetDirection ( tview . FlexColumn ) . AddItem ( buildTipsUI ( ) , SidebarWidth , 0 , false ) . AddItem ( view . flex , 0 , 1 , false ) flex := tview . NewFlex ( ) . SetDirection ( tview . FlexRow ) . AddItem ( topFlex , 3 , 0 , true ) . AddItem ( btmFlex , 0 , 1 , false ) flex . SetBackgroundColor ( tcell . ColorBlack ) app . SetInputCapture ( onKeyEvent ) app . SetRoot ( flex , true ) }
Start the selector's render loop
Start the selector ' s render loop