Repository navigation
Commit 2417991
committed
Fix progress indicator erasing too many characters. Fixes webpack#3591
The code was erasing (actually: moving the caret back for) too many characters
because the number of characters to move back was being overwritten
too early.
The bug manifests itself only in Windows Command Prompt via npm script
and only when webpack is run in conjunction with other npm scripts. Linux
terminal is also affected, but apparently is more graceful (doesn't allow the
backspace character to jump to the previous terminal line).1 parent 8bc25f6 commit 2417991
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
| 183 | + | |
185 | 184 | | |
186 | 185 | | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
0 commit comments