Fix renaming PollEvent to PollEvents (Closes #203)

This commit is contained in:
Caleb Bassi 2018-12-28 13:03:25 -08:00 committed by GitHub
parent 3461d4a2e8
commit 2cfe9f65b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func main() {
defer ui.Close()
for {
e := <-ui.PollEvent()
e := <-ui.PollEvents()
fmt.Printf("%v", e)
switch e.ID {
case "q", "<C-c>":