mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
21 lines
375 B
Go
21 lines
375 B
Go
package view
|
|
|
|
import (
|
|
"github.com/rivo/tview"
|
|
"github.com/wtfutil/wtf/cfg"
|
|
)
|
|
|
|
type Base struct {
|
|
app *tview.Application
|
|
bordered bool
|
|
commonSettings *cfg.Common
|
|
enabled bool
|
|
focusChar string
|
|
focusable bool
|
|
key string
|
|
name string
|
|
quitChan chan bool
|
|
refreshing bool
|
|
refreshInterval int
|
|
}
|