Resolved merge conflict

pull/301/merge
Oliver 4 years ago
commit 0f2b919ef2

@ -45,6 +45,7 @@ func TextView1(nextSlide func()) (title string, content tview.Primitive) {
go func() {
var n int
for {
if textView.HasFocus() {
n++
if n > 512 {
n = 1
@ -53,6 +54,9 @@ func TextView1(nextSlide func()) (title string, content tview.Primitive) {
fmt.Fprintf(textView, "%d ", n)
time.Sleep(200 * time.Millisecond)
} else {
time.Sleep(time.Second)
}
}
}()
textView.SetBorder(true).SetTitle("TextView implements io.Writer")

Loading…
Cancel
Save