Skip to content

Commit

Permalink
Not currently functioning - WIP stash
Browse files Browse the repository at this point in the history
  • Loading branch information
fimtitzgerald committed Jul 24, 2018
1 parent abb6166 commit 766af84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zendesk/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 766af84

Please sign in to comment.