You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name of one of the [provided spinners](https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json). See `example.js` in this repo if you want to test out different spinners. On Windows, it will always use the `line` spinner as the Windows command-line doesn't have proper Unicode support.
Set to `false` to stop Ora from hiding the cursor.
86
86
87
87
##### indent
88
88
89
-
Type: `number`<br>
89
+
Type: `number`\
90
90
Default: `0`
91
91
92
92
Indent the spinner with the given number of spaces.
93
93
94
94
##### interval
95
95
96
-
Type: `number`<br>
96
+
Type: `number`\
97
97
Default: Provided by the spinner or `100`
98
98
99
99
Interval between each frame.
@@ -102,7 +102,7 @@ Spinners provide their own recommended interval, so you don't really need to spe
102
102
103
103
##### stream
104
104
105
-
Type: `stream.Writable`<br>
105
+
Type: `stream.Writable`\
106
106
Default: `process.stderr`
107
107
108
108
Stream to write the output.
@@ -119,7 +119,7 @@ Note that `{isEnabled: false}` doesn't mean it won't output anything. It just me
119
119
120
120
##### discardStdin
121
121
122
-
Type: `boolean`<br>
122
+
Type: `boolean`\
123
123
Default: `true`
124
124
125
125
Discard stdin input (except Ctrl+C) while running if it's TTY. This prevents the spinner from twitching on input, outputting broken lines on <kbd>Enter</kbd> key presses, and prevents buffering of input while the spinner is running.
@@ -166,21 +166,21 @@ Type: `object`
166
166
167
167
###### symbol
168
168
169
-
Type: `string`<br>
169
+
Type: `string`\
170
170
Default: `' '`
171
171
172
172
Symbol to replace the spinner with.
173
173
174
174
###### text
175
175
176
-
Type: `string`<br>
176
+
Type: `string`\
177
177
Default: Current `'text'`
178
178
179
179
Text to be persisted after the symbol
180
180
181
181
###### prefixText
182
182
183
-
Type: `string`<br>
183
+
Type: `string`\
184
184
Default: Current `prefixText`
185
185
186
186
Text to be persisted before the symbol. No prefix text will be displayed if set to an empty string.
0 commit comments