From 454532766f0159f76355e2c18f03e5439bbf9063 Mon Sep 17 00:00:00 2001 From: derailed Date: Mon, 25 Feb 2019 20:48:52 -0800 Subject: [PATCH] disable flash causing screen lock issue --- internal/views/pod.go | 2 +- internal/views/resource.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/views/pod.go b/internal/views/pod.go index 4bd317eb..f828aabb 100644 --- a/internal/views/pod.go +++ b/internal/views/pod.go @@ -106,7 +106,7 @@ func (v *podView) showPicker(cc []string) { } func (v *podView) sshInto(path, co string) { - v.app.flash(flashInfo, "Shell into pod", path) + // v.app.flash(flashInfo, "Shell into pod", path) ns, po := namespaced(path) if len(co) == 0 { run(v.app, "exec", "-it", "-n", ns, po, "--", "sh") diff --git a/internal/views/resource.go b/internal/views/resource.go index ace0bc20..17a03631 100644 --- a/internal/views/resource.go +++ b/internal/views/resource.go @@ -186,7 +186,6 @@ func (v *resourceView) editCmd(evt *tcell.EventKey) *tcell.EventKey { if !v.rowSelected() { return evt } - v.app.flash(flashInfo, fmt.Sprintf("Editing %s %s", v.title, v.selectedItem)) ns, s := namespaced(v.selectedItem) run(v.app, "edit", v.list.GetName(), "-n", ns, s) return evt