From 28deb6c5432db742c0a2fbf6dba86b04790881b1 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 18 May 2020 18:45:37 -0400 Subject: [PATCH] Correct doc comment --- pager/pager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pager/pager.go b/pager/pager.go index 5860f16..664d83d 100644 --- a/pager/pager.go +++ b/pager/pager.go @@ -28,7 +28,7 @@ func (m Model) ScrollPercent() float64 { return y / (t - h) } -// Content set the pager's text content +// SetContent set the pager's text content func (m *Model) SetContent(s string) { s = strings.Replace(s, "\r\n", "\n", -1) // normalize line endings m.lines = strings.Split(s, "\n")