Documentation
¶
Index ¶
- func Run()
- type App
- func (a *App) Blur()
- func (a *App) Draw(screen tcell.Screen)
- func (a *App) Focus(delegate func(p tview.Primitive))
- func (a *App) GetRect() (int, int, int, int)
- func (a *App) HasFocus() bool
- func (a *App) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (a *App) Reset(num int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { *tview.Application Loopfinished chan bool // contains filtered or unexported fields }
* App is entire tui struct including tview flex struct * it consists of each widgets (sidebar, typing, status, config) * - sidebar : it lists color themes * - typing : display words and current carrot interactively * - status : it shows current status such as wpm, time .. * - config : configurate several options such as word count, languages ..
var Core *App
App instance handler
func (*App) InputHandler ¶
Click to show internal directories.
Click to hide internal directories.