From 4bfe7648ad9efa33032a2fa6bda0d227dd38391a Mon Sep 17 00:00:00 2001 From: Leon Yang Date: Wed, 30 Nov 2022 20:26:57 +0800 Subject: [PATCH] delete quit hint when waiting (#32) --- internal/ui/spinner_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/spinner_model.go b/internal/ui/spinner_model.go index f1bf11ae..279fadfb 100644 --- a/internal/ui/spinner_model.go +++ b/internal/ui/spinner_model.go @@ -78,7 +78,7 @@ func (m SpinnerModel) View() string { if m.Output != "" { return m.Output } - str := color.New(color.FgYellow).Sprintf("%s %s. press q to quit \n", m.spinner.View(), m.Hint) + str := color.New(color.FgYellow).Sprintf("%s %s.\n", m.spinner.View(), m.Hint) if m.quitting { return str + "\n" }