From 7e604c68902e33a2fdacacdea25e02f21eef0826 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Thu, 11 Oct 2018 22:36:38 +0900 Subject: [PATCH] input: Fix comments --- input.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() }