summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-04 15:48:14 -0600
committerJeff Carr <[email protected]>2025-02-04 15:48:14 -0600
commita81e931b9ac830f7812d696e0ecc182fb3a00b7f (patch)
treedb4dd540ecac2fe42eaf1c9b9422121e798f0392 /window.go
parent6237bf89c3c74abcab8544d7fe93d7b7d89ffbab (diff)
still notsure
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