|
@@ -1,13 +1,10 @@
|
|
|
package main
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
- "log"
|
|
|
|
|
-
|
|
|
|
|
"github.com/gdamore/tcell/v2"
|
|
"github.com/gdamore/tcell/v2"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func onInputCapture(event *tcell.EventKey) *tcell.EventKey {
|
|
func onInputCapture(event *tcell.EventKey) *tcell.EventKey {
|
|
|
- log.Println(event.Name())
|
|
|
|
|
switch event.Name() {
|
|
switch event.Name() {
|
|
|
case cfg.Keys.GuildsTree.Focus:
|
|
case cfg.Keys.GuildsTree.Focus:
|
|
|
app.SetFocus(guildsTree)
|
|
app.SetFocus(guildsTree)
|