summaryrefslogtreecommitdiff
path: root/keybindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'keybindings.go')
-rw-r--r--keybindings.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/keybindings.go b/keybindings.go
index 669ecb3..66e11ed 100644
--- a/keybindings.go
+++ b/keybindings.go
@@ -118,7 +118,8 @@ func addDebugKeys(g *gocui.Gui) {
// list all widgets with positions
g.SetKeybinding("", 'M', gocui.ModNone,
func(g *gocui.Gui, v *gocui.View) error {
- dumpTree(me.treeRoot, true)
+ w := me.treeRoot.TK.(*guiWidget)
+ w.dumpTree(true)
return nil
})