summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go16
1 files changed, 2 insertions, 14 deletions
diff --git a/window.go b/window.go
index b0fa9b3..99ecea6 100644
--- a/window.go
+++ b/window.go
@@ -33,21 +33,9 @@ func redoWindows(nextW int, nextH int) {
win.gocuiSize.w0 = nextW
win.gocuiSize.h0 = nextH
- tmp := fmt.Sprintf("redoWindowsS (%d,%d)", nextW, nextH)
- win.dumpWidget(tmp)
-
+ win.dumpWidget(fmt.Sprintf("redoWindowsS (%d,%d)", nextW, nextH))
win.redrawWindow(nextW, nextH)
- /*
-
- // this should make the window the full size and re-draw it
- win.setFullSize() // win.gocuiSetWH(nextW, nextH)
- win.Hide()
- win.DrawAt(nextW, nextH)
- win.Show()
- */
-
- tmp = fmt.Sprintf("redoWindowsE (%d,%d)", nextW, nextH)
- win.dumpWidget(tmp)
+ win.dumpWidget(fmt.Sprintf("redoWindowsE (%d,%d)", nextW, nextH))
// increment the width for the next window
nextW += win.gocuiSize.Width() + 4