[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

fix: add guide prefix

James Garbutt (Feb 25, 2026, 10:24 PM UTC) 3d2ca73c 505e7ff1

+4 -4
+4 -4
packages/prompts/src/spinner.ts
··· 55 55 input: opts.input, 56 56 render() { 57 57 const hasGuide = opts.withGuide ?? settings.withGuide; 58 + const prefix = hasGuide ? `${styleText('grey', S_BAR)}\n` : ''; 58 59 59 60 if (!this.isActive) { 60 61 if (this.silentExit || this.state === 'initial') { 61 - return ''; 62 + return prefix; 62 63 } 63 64 const step = 64 65 this.exitCode === 0 ··· 67 68 ? styleText('red', S_STEP_CANCEL) 68 69 : styleText('red', S_STEP_ERROR); 69 70 if (indicator === 'timer') { 70 - return `${step} ${this.message} ${this.getFormattedTimer()}\n`; 71 + return `${prefix}${step} ${this.message} ${this.getFormattedTimer()}\n`; 71 72 } else { 72 - return `${step} ${this.message}\n`; 73 + return `${prefix}${step} ${this.message}\n`; 73 74 } 74 75 } 75 76 const frame = styleFn(frames[this.frameIndex]); ··· 83 84 const loadingDots = '.'.repeat(Math.floor(this.indicatorTimer)).slice(0, 3); 84 85 outputMessage = `${frame} ${message}${loadingDots}`; 85 86 } 86 - const prefix = hasGuide ? `${styleText('grey', S_BAR)}\n` : ''; 87 87 return `${prefix}${outputMessage}`; 88 88 }, 89 89 });