We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816c976 commit ce1e06fCopy full SHA for ce1e06f
packages/prompts/src/note.ts
@@ -48,7 +48,7 @@ export const note = (message = '', title = '', opts?: NoteOptions) => {
48
.join('\n');
49
output.write(
50
`${color.gray(S_BAR)}\n${color.green(S_STEP_SUBMIT)} ${color.reset(title)} ${color.gray(
51
- S_BAR_H.repeat(Math.max(len - titleLen - 1), 1) + S_CORNER_TOP_RIGHT
+ S_BAR_H.repeat(Math.max(len - titleLen - 1, 1)) + S_CORNER_TOP_RIGHT
52
)}\n${msg}\n${color.gray(S_CONNECT_LEFT + S_BAR_H.repeat(len + 2) + S_CORNER_BOTTOM_RIGHT)}\n`
53
);
54
};
0 commit comments