diff --git a/cmd/kctl-tui/full.go b/cmd/kctl-tui/full.go index 2bd99ff..9777411 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 new-tab %s ; split-pane -H -s 0.75 %s", panelCmd, k9sCmdA) + wtCmd := fmt.Sprintf("wt -F 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 ab22e87..55313dc 100644 --- a/cmd/kctl-tui/panel.go +++ b/cmd/kctl-tui/panel.go @@ -94,6 +94,9 @@ func newPanelModel(context, ns, team string) *panelModel { l.SetFilteringEnabled(false) 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 + } if loadErr != nil { m.err = fmt.Errorf("config load failed: %w", loadErr) m.step = stepError