From b0d1070a7e3cad25fbaf2cc419bd12e39272b8fd Mon Sep 17 00:00:00 2001 From: Aditya Saurabh Date: Tue, 30 Mar 2021 21:20:52 -0400 Subject: [PATCH] show the cursor and not hide https://github.com/AlecAivazis/survey/issues/345 --- input.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {