diff --git a/components/input.go b/components/input.go index 141e223..dcab2f1 100644 --- a/components/input.go +++ b/components/input.go @@ -194,6 +194,7 @@ func (i *Input) Clear() { i.Par.Text = "" i.CursorPositionScreen = 0 i.CursorPositionText = 0 + i.Offset = 0 } // GetText returns the text currently in the input