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 62790ea commit 32c0952Copy full SHA for 32c0952
packages/prompts/src/autocomplete.ts
@@ -304,8 +304,7 @@ export const autocompleteMultiselect = <Value>(opts: AutocompleteMultiSelectOpti
304
305
// Calculate header and footer line counts for rowPadding
306
const headerLines = [
307
- ...title.split('\n').slice(0, -1),
308
- barColor(S_BAR),
+ ...`${title}${barColor(S_BAR)}`.split('\n'),
309
`${barColor(S_BAR)} ${color.dim('Search:')} ${searchText}${matches}`,
310
...noResults,
311
...errorMessage,
0 commit comments