We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9379e0f commit 6dbdc20Copy full SHA for 6dbdc20
internal/tui/tui.go
@@ -9,6 +9,7 @@ import (
9
"time"
10
11
"github.com/museslabs/kyma/internal/config"
12
+ "github.com/museslabs/kyma/internal/logger"
13
"github.com/museslabs/kyma/internal/tui/transitions"
14
)
15
@@ -128,6 +129,10 @@ func (m model) Init() tea.Cmd {
128
129
}
130
131
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
132
+ if keyMsg, ok := msg.(tea.KeyMsg); ok {
133
+ logger.Info("Key pressed", "key", keyMsg.String())
134
+ }
135
+
136
if m.command != nil && m.command.IsShowing() {
137
command, cmd := m.command.Update(msg)
138
m.command = &command
0 commit comments