fix: golangci-lint 2 fixes (#769)

This commit is contained in:
Carlos Alexandro Becker
2025-03-31 14:18:18 -03:00
committed by GitHub
parent cce848148c
commit bd2a5b0c6a
13 changed files with 33 additions and 8 deletions
+2
View File
@@ -1,3 +1,5 @@
// Package viewport provides a component for rendering a viewport in a Bubble
// Tea.
package viewport
import "github.com/charmbracelet/bubbles/key"
+1 -1
View File
@@ -178,7 +178,7 @@ func (m *Model) SetYOffset(n int) {
m.YOffset = clamp(n, 0, m.maxYOffset())
}
// PageDown moves the view down by the number of lines in the viewport.
// ViewDown moves the view down by the number of lines in the viewport.
// Basically, "page down".
//
// Deprecated: use [Model.PageDown] instead.