diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-22 09:01:14 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 0ac402792bd184965441b6ac60d054ae7d0afd7b (patch) | |
tree | 6f41ef089c81ed2aeaab7e5824c11cc2f5defbbb /pkg/gui/context.go | |
parent | 974c6510b8fbda23b79f365efb18f2091cd757a6 (diff) |
allow getting the current item generically
Diffstat (limited to 'pkg/gui/context.go')
-rw-r--r-- | pkg/gui/context.go | 2 |
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) } } |