mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
Hide cursor and fix dots (#217)
* Hide cursor and fix dots spinner * Allow restarting of spinner * Don't spin on non TTY output Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
56981a709e
commit
c82d5ccba9
9 changed files with 118 additions and 102 deletions
|
@ -60,7 +60,7 @@ func runInitialize(cmd *cobra.Command, args []string) error {
|
|||
return dialer.New(nil, validator.V(cmd), &net.Dialer{})
|
||||
}
|
||||
helmLoader := &helm.ChartLoader{}
|
||||
spinner, _ := newSpinner(cmd, cmd.OutOrStdout())
|
||||
spinner := newSpinner(cmd.OutOrStdout())
|
||||
defer spinner.Stop()
|
||||
|
||||
ctx, cancel := context.WithTimeout(cmd.Context(), time.Hour)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue