summaryrefslogtreecommitdiff
path: root/keybindings.go
diff options
context:
space:
mode:
Diffstat (limited to 'keybindings.go')
-rw-r--r--keybindings.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/keybindings.go b/keybindings.go
index b513424..f798fdb 100644
--- a/keybindings.go
+++ b/keybindings.go
@@ -50,13 +50,11 @@ func addDebugKeys(g *gocui.Gui) {
func(g *gocui.Gui, v *gocui.View) error {
fakeStartWidth = me.FakeW
fakeStartHeight = me.TabH + me.FramePadH
- var w *guiWidget
- w = me.treeRoot.TK.(*guiWidget)
if showDebug {
- w.showFake()
+ showFake()
showDebug = false
} else {
- w.hideFake()
+ hideFake()
showDebug = true
}
return nil