diff --git a/input.go b/input.go index 2774ec15b..c4db0837a 100644 --- a/input.go +++ b/input.go @@ -52,8 +52,10 @@ func CursorPosition() (x, y int) { return ui.AdjustedCursorPosition() } -// MouseWheel returns the x and y offset of the mouse wheel or touchpad scroll. +// Wheel returns the x and y offset of the mouse wheel or touchpad scroll. // It returns 0 if the wheel isn't being rolled. +// +// Wheel is concurrent-safe. func Wheel() (xoff, yoff float64) { return input.Get().Wheel() }