Open ivch opened 5 years ago
I have some experience using this library. Sometimes it would be nice to have an ability to fire keyboard event in tests. For example in such case:
func Listen() { for { e := termbox.PollEvent() switch e.Type { case termbox.EventKey: //do smth case termbox.EventInterrupt: //do smth case termbox.EventError: //do smth } } }
I have some experience using this library. Sometimes it would be nice to have an ability to fire keyboard event in tests. For example in such case: