mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add the Enabler and TextViewer interfaces
This commit is contained in:
parent
79bc8216d6
commit
cbf5b45c62
6
wtf/enabler.go
Normal file
6
wtf/enabler.go
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package wtf
|
||||||
|
|
||||||
|
type Enabler interface {
|
||||||
|
Disabled() bool
|
||||||
|
Enabled() bool
|
||||||
|
}
|
@ -5,7 +5,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TextViewer interface {
|
type TextViewer interface {
|
||||||
Disabled() bool
|
Enabler
|
||||||
Enabled() bool
|
|
||||||
TextView() *tview.TextView
|
TextView() *tview.TextView
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user