diff --git a/cmd/kctl-tui/full.go b/cmd/kctl-tui/full.go index 9777411..75c0eec 100644 --- a/cmd/kctl-tui/full.go +++ b/cmd/kctl-tui/full.go @@ -355,7 +355,7 @@ func (m *fullModel) startWtSession() tea.Cmd { kubeexec.VerboseLog("[debug] panelCmd=%s\n", panelCmd) kubeexec.VerboseLog("[debug] k9sCmdA=%s\n", k9sCmdA) - wtCmd := fmt.Sprintf("wt -F new-tab %s ; split-pane -H -s 0.75 %s", panelCmd, k9sCmdA) + wtCmd := fmt.Sprintf("wt -M new-tab %s ; split-pane -H -s 0.75 %s", panelCmd, k9sCmdA) if len(m.cfg.Envs) > 1 { envB := m.cfg.Envs[1] diff --git a/cmd/kctl-tui/panel.go b/cmd/kctl-tui/panel.go index 55313dc..98b4e79 100644 --- a/cmd/kctl-tui/panel.go +++ b/cmd/kctl-tui/panel.go @@ -95,7 +95,8 @@ func newPanelModel(context, ns, team string) *panelModel { m := &panelModel{context: context, ns: ns, team: team, cfg: cfg, step: stepEnvMenu, list: l, input: ti} if m.isWtMode() { - l.KeyMap.Quit.SetEnabled(false) // "q" deaktivieren, "ctrl+c" bleibt + l.DisableQuitKeybindings() + l.SetShowHelp(false) } if loadErr != nil { m.err = fmt.Errorf("config load failed: %w", loadErr)