summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.go b/window.go
index 0d25ed2..fa324f2 100644
--- a/window.go
+++ b/window.go
@@ -73,8 +73,8 @@ func redoWindows(nextW int, nextH int) {
win.dumpWidget(fmt.Sprintf("redoWindowsE (%d,%d)", nextW, nextH))
// increment the width for the next window
- nextW += 40
- nextH += 10
+ nextW += win.gocuiSize.Width() + 10
+ // nextH += 10
}
}