mirror of https://github.com/gizak/termui.git
Init() cleanly after Close()
This commit is contained in:
parent
72304ddb9b
commit
6e522b9e10
|
@ -139,7 +139,7 @@ func NewSysEvtCh() chan Event {
|
||||||
return ec
|
return ec
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultEvtStream = NewEvtStream()
|
var DefaultEvtStream *EvtStream
|
||||||
|
|
||||||
type EvtStream struct {
|
type EvtStream struct {
|
||||||
sync.RWMutex
|
sync.RWMutex
|
||||||
|
|
Loading…
Reference in New Issue