summaryrefslogtreecommitdiff
path: root/toolkit/gocui/keybindings.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-26 01:59:42 -0500
committerJeff Carr <[email protected]>2023-04-26 01:59:42 -0500
commit7af6242cbfbd2d18461415e8421146f94093e8ca (patch)
tree0bfdbc452b83cef498d32ad813bd28f0d2dbc149 /toolkit/gocui/keybindings.go
parent4b9b381bcf02c212d72f55d4738943941e843250 (diff)
gocui: closer to working layout
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/keybindings.go')
-rw-r--r--toolkit/gocui/keybindings.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/gocui/keybindings.go b/toolkit/gocui/keybindings.go
index 23db0eb..c3e92d7 100644
--- a/toolkit/gocui/keybindings.go
+++ b/toolkit/gocui/keybindings.go
@@ -45,8 +45,10 @@ func addDebugKeys(g *gocui.Gui) {
g.SetKeybinding("", 'd', gocui.ModNone,
func(g *gocui.Gui, v *gocui.View) error {
log(logNow, "gocui.SetKeyBinding() dumpTree() START")
- me.rootNode.dumpTree(true)
+ // me.rootNode.dumpTree(true)
if (showDebug) {
+ fakeStartWidth = me.DevelOffsetW
+ fakeStartHeight = me.TabH + me.FramePadH
me.rootNode.showFake()
showDebug = false
} else {