Print container name even if there is only one

mine
Joscha Alisch 2020-02-07 20:25:55 +01:00
parent fc2de70dea
commit 4b3ed16749
No known key found for this signature in database
GPG Key ID: FCADD70C266FEEB5
1 changed files with 1 additions and 1 deletions

View File

@ -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()