(msg = '')
| 196 | const stop = (msg = ''): void => _stop(msg, 0); |
| 197 | const cancel = (msg = ''): void => _stop(msg, 1); |
| 198 | const error = (msg = ''): void => _stop(msg, 2); |
| 199 | // TODO (43081j): this will leave the initial S_BAR since we purposely |
| 200 | // don't erase that in `clearPrevMessage`. In future, we may want to treat |
| 201 | // `clear` as a special case and remove the bar too. |