aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 1b11a96302bd40244d43c374b433ce11f5d0321d
parent 9947ea125cdaed1de336ba939d63d8ecd7b313ea
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat, 25 May 2019 15:54:01 -0400

ensureScroll on text input frames

Diffstat:
Mlib/ui/textinput.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go @@ -59,6 +59,8 @@ func (ti *TextInput) Draw(ctx *Context) { scroll := ti.scroll if !ti.focus { scroll = 0 + } else { + ti.ensureScroll() } ti.ctx = ctx // gross ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault)