(applyColor = true, cooldown = false)
| 21 | } |
| 22 | |
| 23 | export function getFastIconString(applyColor = true, cooldown = false): string { |
| 24 | if (!applyColor) { |
| 25 | return LIGHTNING_BOLT; |
| 26 | } |
| 27 | const themeName = resolveThemeSetting(getGlobalConfig().theme); |
| 28 | if (cooldown) { |
| 29 | return chalk.dim(color('promptBorder', themeName)(LIGHTNING_BOLT)); |
| 30 | } |
| 31 | return color('fastMode', themeName)(LIGHTNING_BOLT); |
| 32 | } |
no test coverage detected