From d6bfca30e2d007d4fc64ae3499b6e631deaaa737 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 2 Aug 2023 21:02:34 +0900 Subject: [PATCH] exp/textinput: fix comments --- exp/textinput/textinput.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/exp/textinput/textinput.go b/exp/textinput/textinput.go index 861bff71b..3c7286e52 100644 --- a/exp/textinput/textinput.go +++ b/exp/textinput/textinput.go @@ -43,8 +43,6 @@ type State struct { // Start returns a channel to send the state repeatedly, and a function to end the text inputting. // // Start returns nil and nil if the current environment doesn't support this package. -// -// (x, y) is in device-independent pixels. func Start(x, y int) (states chan State, close func()) { cx, cy := ui.LogicalPositionToClientPosition(float64(x), float64(y)) return theTextInput.Start(int(cx), int(cy))