1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Cleaner code around widget creation in wtf.go

This commit is contained in:
Chris Cummer
2018-04-13 12:00:29 -07:00
committed by Chris Cummer
parent 31e17da358
commit 8e3287ba5c
3 changed files with 22 additions and 22 deletions

View File

@@ -4,10 +4,12 @@ import (
"github.com/rivo/tview"
)
// TODO: I really need to come up with a better name for this now
type TextViewer interface {
Enabler
Scheduler
Refresh()
//Refresh()
TextView() *tview.TextView
Top() int