diff --git a/input.go b/input.go index 2e9ad3ce..ec4b0225 100644 --- a/input.go +++ b/input.go @@ -150,8 +150,7 @@ func (i *Input) Prompt(config *PromptConfig) (interface{}, error) { defer rr.RestoreTermMode() cursor := i.NewCursor() - cursor.Hide() // hide the cursor - defer cursor.Show() // show the cursor when we're done + cursor.Show() // start waiting for input for {