diff options
Diffstat (limited to 'toolkit/gocui/view.go')
| -rw-r--r-- | toolkit/gocui/view.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toolkit/gocui/view.go b/toolkit/gocui/view.go index 89059c2..c1a514b 100644 --- a/toolkit/gocui/view.go +++ b/toolkit/gocui/view.go @@ -30,10 +30,9 @@ func (w *cuiWidget) textResize() { } height = i } - w.realWidth = width + 3 - w.realHeight = me.defaultHeight + height - w.gocuiSize.w1 = w.gocuiSize.w0 + w.realWidth - w.gocuiSize.h1 = w.gocuiSize.h0 + w.realHeight + w.gocuiSize.width = width + 3 + w.gocuiSize.height = me.defaultHeight + height + w.setWH() w.showWidgetPlacement(logNow, "textResize()") } |
