From 19661d782f9c44f59df3b197f89e62ec1e3eb3e5 Mon Sep 17 00:00:00 2001 From: apolitis-work <56894969+apolitis-work@users.noreply.github.com> Date: Thu, 12 Nov 2020 16:34:24 -0500 Subject: [PATCH] Prevent cursor from being hidden --- input.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input.go b/input.go index 65d37354..5f1c454a 100644 --- a/input.go +++ b/input.go @@ -149,8 +149,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() // show the cursor when we're done // start waiting for input for {