listbox.go
func (l *ListBox) OnKeyPress(fn func(term.Key) bool) {
	l.onKeyPress = fn
}
func (l *ListBox) OnKeyPress(fn func(term.Key) bool) {
	l.onKeyPress = fn
}
func ( l * ListBox ) OnKeyPress ( fn func ( term . Key ) bool ) { l . onKeyPress = fn }
// OnKeyPress sets the callback that is called when a user presses a Key while
// the controls is active. If a handler processes the key it should return
// true. If handler returns false it means that the default handler will
// process the key
OnKeyPress sets the callback that is called when a user presses a Key while the controls is active . If a handler processes the key it should return true . If handler returns false it means that the default handler will process the key