Skip to content

Commit f073e09

Browse files
committed
Also add our defaults for our custom spinner
1 parent e5946ed commit f073e09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/pterm.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"time"
1414

1515
"connectrpc.com/connect"
16+
"github.com/overmindtech/cli/custerm"
1617
"github.com/overmindtech/cli/tracing"
1718
"github.com/overmindtech/pterm"
1819
"github.com/overmindtech/sdp-go"
@@ -32,6 +33,9 @@ func PTermSetup() {
3233
pterm.DefaultSpinner.Sequence = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
3334
pterm.DefaultSpinner.Delay = 80 * time.Millisecond
3435

36+
custerm.DefaultSpinner.Sequence = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
37+
custerm.DefaultSpinner.Delay = 80 * time.Millisecond
38+
3539
// ensure that only error messages are printed to the console,
3640
// disrupting bubbletea rendering (and potentially getting overwritten).
3741
// Otherwise, when TEABUG is set, log to a file.

0 commit comments

Comments
 (0)