1
0
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:
fimtitzgerald 2018-07-23 22:58:37 -07:00
parent abb616699f
commit 766af8479d

View File

@ -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()