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
|
return nil
|
||||||
}
|
}
|
||||||
switch event.Key() {
|
switch event.Key() {
|
||||||
/* case tcell.KeyDown:
|
|
||||||
// Select the next item down
|
|
||||||
widget.next()
|
|
||||||
widget.display()
|
|
||||||
return nil */
|
|
||||||
case tcell.KeyEnter:
|
case tcell.KeyEnter:
|
||||||
widget.openTicket()
|
widget.openTicket()
|
||||||
return nil
|
return nil
|
||||||
@ -143,11 +138,6 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
|||||||
widget.unselect()
|
widget.unselect()
|
||||||
widget.display()
|
widget.display()
|
||||||
return event
|
return event
|
||||||
/* case tcell.KeyUp:
|
|
||||||
// Select the next item up
|
|
||||||
widget.prev()
|
|
||||||
widget.display()
|
|
||||||
return nil */
|
|
||||||
default:
|
default:
|
||||||
// Pass it along
|
// Pass it along
|
||||||
return event
|
return event
|
||||||
|
Loading…
x
Reference in New Issue
Block a user