mirror of https://github.com/gdamore/tcell.git
Initialize quit chan of simscreen
PollEvent should return nil when Fini is called
This commit is contained in:
parent
d46cfaf648
commit
2548ddfbd8
|
@ -109,6 +109,7 @@ type simscreen struct {
|
|||
|
||||
func (s *simscreen) Init() error {
|
||||
s.evch = make(chan Event, 10)
|
||||
s.quit = make(chan struct{})
|
||||
s.fillchar = 'X'
|
||||
s.fillstyle = StyleDefault
|
||||
s.mouse = false
|
||||
|
|
Loading…
Reference in New Issue