File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @clack/prompts " : patch
3+ ---
4+
5+ fix: add missing guide line in autocomplete-multiselect
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ export const autocompleteMultiselect = <Value>(opts: AutocompleteMultiSelectOpti
304304
305305 // Calculate header and footer line counts for rowPadding
306306 const headerLines = [
307- ...title . split ( '\n' ) ,
307+ ...` ${ title } ${ barColor ( S_BAR ) } ` . split ( '\n' ) ,
308308 `${ barColor ( S_BAR ) } ${ color . dim ( 'Search:' ) } ${ searchText } ${ matches } ` ,
309309 ...noResults ,
310310 ...errorMessage ,
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ exports[`autocompleteMultiselect > can be aborted by a signal 1`] = `
340340 "<cursor.hide >",
341341 "[90m│[39m
342342[36m◆[39m foo
343-
343+ [36m│[39m
344344[36m│[39m [2mSearch:[22m [7m[8m_[28m[27m
345345[36m│[39m [2m◻[22m Apple
346346[36m│[39m [2m◻[22m [2mBanana[22m
@@ -360,7 +360,7 @@ exports[`autocompleteMultiselect > can use navigation keys to select options 1`]
360360 "<cursor.hide >",
361361 "[90m│[39m
362362[36m◆[39m Select fruits
363-
363+ [36m│[39m
364364[36m│[39m [2mSearch:[22m [7m[8m_[28m[27m
365365[36m│[39m [2m◻[22m Apple
366366[36m│[39m [2m◻[22m [2mBanana[22m
@@ -415,7 +415,7 @@ exports[`autocompleteMultiselect > renders error when empty selection & required
415415 "<cursor.hide >",
416416 "[90m│[39m
417417[36m◆[39m Select a fruit
418-
418+ [36m│[39m
419419[36m│[39m [2mSearch:[22m [7m[8m_[28m[27m
420420[36m│[39m [2m◻[22m Apple
421421[36m│[39m [2m◻[22m [2mBanana[22m
@@ -428,7 +428,7 @@ exports[`autocompleteMultiselect > renders error when empty selection & required
428428 " <cursor.down count=1>" ,
429429 " <erase.down>" ,
430430 " [33m▲[39m Select a fruit
431-
431+ [33m│[39m
432432[33m│[39m [2mSearch:[22m [7m[8m_[28m[27m
433433[33m│[39m [33mPlease select at least one item[39m
434434[33m│[39m [2m◻[22m Apple
@@ -442,7 +442,7 @@ exports[`autocompleteMultiselect > renders error when empty selection & required
442442 " <cursor.down count=1>" ,
443443 " <erase.down>" ,
444444 " [36m◆[39m Select a fruit
445-
445+ [36m│[39m
446446[36m│[39m [2mSearch:[22m [7m[8m_[28m[27m
447447[36m│[39m [32m◼[39m Apple
448448[36m│[39m [2m◻[22m [2mBanana[22m
You can’t perform that action at this time.
0 commit comments