diff --git a/console_win.go b/console_win.go index ce21853..1cd994a 100644 --- a/console_win.go +++ b/console_win.go @@ -370,7 +370,7 @@ func (s *cScreen) PostEvent(ev Event) error { func (s *cScreen) PollEvent() Event { select { - case <-s.quit: + case <-s.stopQ: return nil case ev := <-s.evch: return ev