Merge branch 'master' of https://github.com/gizak/termui
This commit is contained in:
commit
72304ddb9b
@ -274,6 +274,10 @@ func Handle(path string, handler func(Event)) {
|
|||||||
DefaultEvtStream.Handle(path, handler)
|
DefaultEvtStream.Handle(path, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func ResetHandlers() {
|
||||||
|
DefaultEvtStream.ResetHandlers()
|
||||||
|
}
|
||||||
|
|
||||||
func Loop() {
|
func Loop() {
|
||||||
DefaultEvtStream.Loop()
|
DefaultEvtStream.Loop()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user