Follow end of TextView buffer in presentation demo

This commit is contained in:
Trevor Slocum 2020-10-21 18:08:25 -07:00
parent ac2b3155fd
commit e655768a65
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ func TextView1(nextSlide func()) (title string, content cview.Primitive) {
}()
textView.SetBorder(true)
textView.SetTitle("TextView implements io.Writer")
textView.ScrollToEnd()
return "TextView 1", Code(textView, 36, 13, textView1)
}