mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Not currently functioning - WIP stash
This commit is contained in:
parent
abb616699f
commit
766af8479d
@ -76,6 +76,11 @@ func (widget *Widget) openTicket() {
|
||||
}
|
||||
|
||||
func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
||||
switch string(event.Rune()) {
|
||||
case "f":
|
||||
widget.openTicket()
|
||||
return nil
|
||||
}
|
||||
switch event.Key() {
|
||||
case tcell.KeyEnter:
|
||||
widget.openTicket()
|
||||
|
Loading…
x
Reference in New Issue
Block a user