[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: prompts cancel states

Bruno Rocha (Aug 14, 2023, 5:55 PM -0300) d26f70c1 2daea068

-5
-5
packages/prompts/src/index.ts
··· 156 156 return [ 157 157 title, 158 158 formatTextWithMaxWidth(this.value ?? '', { 159 - endSymbol: color.gray(S_BAR_END), 160 159 lineWrapper: (line) => color.strikethrough(color.dim(line)), 161 160 }), 162 161 ].join('\n'); ··· 215 214 return [ 216 215 title, 217 216 formatTextWithMaxWidth(masked ?? '', { 218 - endSymbol: color.gray(S_BAR_END), 219 217 lineWrapper: (line) => color.strikethrough(color.dim(line)), 220 218 }), 221 219 ].join('\n'); ··· 265 263 return [ 266 264 title, 267 265 formatTextWithMaxWidth(value, { 268 - endSymbol: color.gray(S_BAR_END), 269 266 lineWrapper: (line) => color.strikethrough(color.dim(line)), 270 267 }), 271 268 ].join('\n'); ··· 343 340 return [ 344 341 title, 345 342 formatTextWithMaxWidth(opt(this.options[this.cursor], 'cancelled'), { 346 - endSymbol: color.gray(S_BAR_END), 347 343 lineWrapper: (line) => color.strikethrough(color.dim(line)), 348 344 }), 349 345 ].join('\n'); ··· 518 514 return [ 519 515 title, 520 516 formatTextWithMaxWidth(label ?? '', { 521 - endSymbol: color.gray(S_BAR_END), 522 517 lineWrapper: (line) => color.strikethrough(color.dim(line)), 523 518 }), 524 519 ].join('\n');