diff options
| author | Jeff Carr <[email protected]> | 2024-01-28 14:03:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-28 14:03:06 -0600 |
| commit | 2e2e68ce070a987304d3f8e4bae832b2672f7875 (patch) | |
| tree | b71d31180ee1bf1591311ace4e6d9cff1c467454 /keybindings.go | |
| parent | dab898f0f945fc3b0a5747f38b7f22b59d539117 (diff) | |
trying to fix windows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'keybindings.go')
| -rw-r--r-- | keybindings.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/keybindings.go b/keybindings.go index 902eed8..d570367 100644 --- a/keybindings.go +++ b/keybindings.go @@ -119,7 +119,14 @@ func addDebugKeys(g *gocui.Gui) { g.SetKeybinding("", 'M', gocui.ModNone, func(g *gocui.Gui, v *gocui.View) error { w := me.treeRoot.TK.(*guiWidget) - w.dumpTree() + w.dumpTree("M") + return nil + }) + + // redo windows + g.SetKeybinding("", 'w', gocui.ModNone, + func(g *gocui.Gui, v *gocui.View) error { + redoWindows(0, 0) return nil }) |
