Fix renaming PollEvent to PollEvents (Closes #203)
This commit is contained in:
		
							parent
							
								
									3461d4a2e8
								
							
						
					
					
						commit
						2cfe9f65b7
					
				@ -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>":
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user