File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export const groupMultiselect = <Value>(opts: GroupMultiSelectOptions<Value>) =>
9494 } ,
9595 render ( ) {
9696 const bar = style . formatBar [ this . state ] ( S_BAR ) ;
97- const _barEnd = style . formatBar [ this . state ] ( S_BAR_END ) ;
97+ const barEnd = style . formatBar [ this . state ] ( S_BAR_END ) ;
9898
9999 const title = `${ color . gray ( S_BAR ) } \n${ style . prefix [ this . state ] } ${ opts . message } \n` ;
100100 const value = this . value ?? [ ] ;
@@ -119,7 +119,7 @@ export const groupMultiselect = <Value>(opts: GroupMultiSelectOptions<Value>) =>
119119 const footer = this . error
120120 . split ( '\n' )
121121 . map ( ( ln , i ) =>
122- i === 0 ? `${ color . yellow ( S_BAR_END ) } ${ color . yellow ( ln ) } ` : ` ${ ln } `
122+ i === 0 ? `${ barEnd } ${ style . formatBar [ this . state ] ( ln ) } ` : ` ${ ln } `
123123 )
124124 . join ( '\n' ) ;
125125 return `${ title } ${ bar } ${ this . options
@@ -181,7 +181,7 @@ export const groupMultiselect = <Value>(opts: GroupMultiSelectOptions<Value>) =>
181181 } )
182182 . join ( `\n${ bar } ` ) ;
183183 const optionsPrefix = optionsText . startsWith ( '\n' ) ? '' : ' ' ;
184- return `${ title } ${ bar } ${ optionsPrefix } ${ optionsText } \n${ color . cyan ( S_BAR_END ) } \n` ;
184+ return `${ title } ${ bar } ${ optionsPrefix } ${ optionsText } \n${ barEnd } \n` ;
185185 }
186186 }
187187 } ,
You can’t perform that action at this time.
0 commit comments