@@ -46,12 +46,12 @@ if **stream** isn't a tty and a tty isn't explicitly provided.
46
46
47
47
If ** stream** is a terminal or if you pass in ** tty** to ** options** then we
48
48
will detect terminal resizes and redraw to fit. We do this by watching for
49
- ` resize ` events on the tty. (To work around a bug in verisons of Node prior
49
+ ` resize ` events on the tty. (To work around a bug in versions of Node prior
50
50
to 2.5.0, we watch for them on stdout if the tty is stderr.) Resizes to
51
51
larger window sizes will be clean, but shrinking the window will always
52
52
result in some cruft.
53
53
54
- ** IMPORTANT:** If you prevously were passing in a non-tty stream but you still
54
+ ** IMPORTANT:** If you previously were passing in a non-tty stream but you still
55
55
want output (for example, a stream wrapped by the ` ansi ` module) then you
56
56
need to pass in the ** tty** option below, as ` gauge ` needs access to
57
57
the underlying tty in order to do things like terminal resizes and terminal
@@ -60,7 +60,7 @@ width detection.
60
60
The ** options** object can have the following properties, all of which are
61
61
optional:
62
62
63
- * ** updateInterval** : How often gauge updates should be drawn, in miliseconds .
63
+ * ** updateInterval** : How often gauge updates should be drawn, in milliseconds .
64
64
* ** fixedFramerate** : Defaults to false on node 0.8, true on everything
65
65
else. When this is true a timer is created to trigger once every
66
66
` updateInterval ` ms, when false, updates are printed as soon as they come
@@ -76,7 +76,7 @@ optional:
76
76
* The name of a theme, which will be looked up in the current * themes*
77
77
object.
78
78
* A configuration object with any of ` hasUnicode ` , ` hasColor ` or
79
- ` platform ` keys, which if wlll be used to override our guesses when making
79
+ ` platform ` keys, which if will be used to override our guesses when making
80
80
a default theme selection.
81
81
82
82
If no theme is selected then a default is picked using a combination of our
@@ -94,7 +94,7 @@ optional:
94
94
the gauge starts enabled. If disabled then all update commands are
95
95
ignored and no gauge will be printed until you call ` .enable() ` .
96
96
* ** Plumbing** : The class to use to actually generate the gauge for
97
- printing. This defaults to ` require('gauge/plumbing') ` and ordinarly you
97
+ printing. This defaults to ` require('gauge/plumbing') ` and ordinarily you
98
98
shouldn't need to override this.
99
99
* ** cleanupOnExit** : Defaults to true. Ordinarily we register an exit
100
100
handler to make sure your cursor is turned back on and the progress bar
@@ -162,7 +162,7 @@ Change the active theme, will be displayed with the next show or pulse. This can
162
162
* The name of a theme, which will be looked up in the current * themes*
163
163
object.
164
164
* A configuration object with any of ` hasUnicode ` , ` hasColor ` or
165
- ` platform ` keys, which if wlll be used to override our guesses when making
165
+ ` platform ` keys, which if will be used to override our guesses when making
166
166
a default theme selection.
167
167
168
168
If no theme is selected then a default is picked using a combination of our
@@ -350,7 +350,7 @@ be be included verbatum in the output, or objects with the following properties:
350
350
* * align* – (Default: left) Possible values "left", "right" and "center". Works
351
351
as you'd expect from word processors.
352
352
* * length* – Provides a single value for both * minLength* and * maxLength* . If both
353
- * length* and * minLength or * maxLength* are specifed then the latter take precedence.
353
+ * length* and * minLength or * maxLength* are specified then the latter take precedence.
354
354
* * value* – A literal value to use for this template item.
355
355
* * default* – A default value to use for this template item if a value
356
356
wasn't otherwise passed in.
0 commit comments