diff options
| author | Jeff Carr <[email protected]> | 2025-02-04 15:48:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-04 15:48:14 -0600 |
| commit | a81e931b9ac830f7812d696e0ecc182fb3a00b7f (patch) | |
| tree | db4dd540ecac2fe42eaf1c9b9422121e798f0392 /window.go | |
| parent | 6237bf89c3c74abcab8544d7fe93d7b7d89ffbab (diff) | |
still notsure
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -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 |
