fix: formatting

This commit is contained in:
Davor Racić 2026-02-03 17:40:22 +01:00
parent c23c0baec1
commit d27f6b555f
2 changed files with 2 additions and 7 deletions

View File

@ -303,12 +303,7 @@ async function autocompleteMultiselect(options) {
const errorLine = this.state === 'error' ? [`${bar} ${color.yellow(this.error)}`] : []; const errorLine = this.state === 'error' ? [`${bar} ${color.yellow(this.error)}`] : [];
const headerLines = [ const headerLines = [...`${title}${bar}`.split('\n'), `${bar} ${searchDisplay}${matchCount}`, ...noMatchesLine, ...errorLine];
...`${title}${bar}`.split('\n'),
`${bar} ${searchDisplay}${matchCount}`,
...noMatchesLine,
...errorLine,
];
const footerLines = [`${bar} ${color.dim(hints.join(' • '))}`, `${barEnd}`]; const footerLines = [`${bar} ${color.dim(hints.join(' • '))}`, `${barEnd}`];