summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-22 09:01:14 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit0ac402792bd184965441b6ac60d054ae7d0afd7b (patch)
tree6f41ef089c81ed2aeaab7e5824c11cc2f5defbbb /pkg/gui/context.go
parent974c6510b8fbda23b79f365efb18f2091cd757a6 (diff)
allow getting the current item generically
Diffstat (limited to 'pkg/gui/context.go')
-rw-r--r--pkg/gui/context.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/gui/context.go b/pkg/gui/context.go
index 9167f8fe7..87d2fba3b 100644
--- a/pkg/gui/context.go
+++ b/pkg/gui/context.go
@@ -3,7 +3,6 @@ package gui
import (
"fmt"
- "github.com/davecgh/go-spew/spew"
"github.com/jesseduffield/gocui"
)
@@ -530,7 +529,6 @@ func (gui *Gui) currentSideContext() *ListContext {
context := stack[len(stack)-1-i]
if context.GetKind() == SIDE_CONTEXT {
- gui.Log.Warn(spew.Sdump(context.GetKey()))
return context.(*ListContext)
}
}