Is your feature request related to a problem? Please describe.
Currently, the left decorative line is not displayed when using \n line break.
import { confirm } from '@clack/prompts'
const msg = await confirm({
message: 'Hello,\nWorld!',
}),
◆ Hello,
World!
│ ● Yes / ○ No
└
Describe the solution you'd like
Let message accept string[], like this:
import { confirm } from '@clack/prompts'
const msg = await confirm({
message: ['Hello,', 'World!'],
}),
◆ Hello,
│ World!
│ ● Yes / ○ No
└
Is your feature request related to a problem? Please describe.
Currently, the left decorative line is not displayed when using
\nline break.Describe the solution you'd like
Let message accept
string[], like this: