From 4b3ed1674908eeec2bfae61cf345c0f94bf8556e Mon Sep 17 00:00:00 2001 From: Joscha Alisch Date: Fri, 7 Feb 2020 20:25:55 +0100 Subject: [PATCH] Print container name even if there is only one --- internal/view/pod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/view/pod.go b/internal/view/pod.go index 92a6a5f4..ef1d98a0 100644 --- a/internal/view/pod.go +++ b/internal/view/pod.go @@ -125,7 +125,7 @@ func (p *Pod) shellCmd(evt *tcell.EventKey) *tcell.EventKey { return evt } if len(cc) == 1 { - p.shellIn(sel, "") + p.shellIn(sel, cc[0]) return nil } picker := NewPicker()