forked from tslocum/cview
Follow end of TextView buffer in presentation demo
This commit is contained in:
parent
ac2b3155fd
commit
e655768a65
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue