mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Final MVP for module
This commit is contained in:
parent
933ec33cf0
commit
fbdaedb339
@ -130,11 +130,6 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
||||
return nil
|
||||
}
|
||||
switch event.Key() {
|
||||
/* case tcell.KeyDown:
|
||||
// Select the next item down
|
||||
widget.next()
|
||||
widget.display()
|
||||
return nil */
|
||||
case tcell.KeyEnter:
|
||||
widget.openTicket()
|
||||
return nil
|
||||
@ -143,11 +138,6 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
||||
widget.unselect()
|
||||
widget.display()
|
||||
return event
|
||||
/* case tcell.KeyUp:
|
||||
// Select the next item up
|
||||
widget.prev()
|
||||
widget.display()
|
||||
return nil */
|
||||
default:
|
||||
// Pass it along
|
||||
return event
|
||||
|
Loading…
x
Reference in New Issue
Block a user