Non-scrollable text views must track end.

pull/3/head
Oliver 7 years ago
parent 5555b22427
commit 7a69902269

@ -187,6 +187,9 @@ func NewTextView() *TextView {
// scollable. If true, text is kept in a buffer and can be navigated.
func (t *TextView) SetScrollable(scrollable bool) *TextView {
t.scrollable = scrollable
if !scrollable {
t.trackEnd = true
}
return t
}

Loading…
Cancel
Save