[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: counter error

Bruno Rocha (Aug 14, 2023, 3:47 PM -0300) affd0b9d 6490f0b8

+3 -2
+3 -2
packages/prompts/src/index.ts
··· 740 740 const noteBox = [ 741 741 color.gray(S_BAR), 742 742 `${color.green(S_STEP_SUBMIT)} ${color.reset(title)} ${color.gray( 743 - S_BAR_H.repeat(len - strLength(title) - 3) + S_CORNER_TOP_RIGHT 743 + S_BAR_H.repeat(Math.max(len - strLength(title) - 3, 0)) + S_CORNER_TOP_RIGHT 744 744 )}`, 745 745 color.gray(S_BAR + ' '.repeat(len) + S_BAR), 746 746 formatTextWithMaxWidth(message, { 747 747 maxWidth: messageLen, 748 - lineWrapper: (line) => line + ' '.repeat(len - strLength(line) - 1) + color.gray(S_BAR), 748 + lineWrapper: (line) => 749 + line + ' '.repeat(Math.max(len - strLength(line) - 1, 0)) + color.gray(S_BAR), 749 750 }), 750 751 color.gray(S_BAR + ' '.repeat(len) + S_BAR), 751 752 color.gray(S_CONNECT_LEFT + S_BAR_H.repeat(len) + S_CORNER_BOTTOM_RIGHT),