(state: FileState, renderOptions?: RenderOptions | undefined)
| 2277 | } |
| 2278 | |
| 2279 | const renderFileFilter = (state: FileState, renderOptions?: RenderOptions | undefined) => { |
| 2280 | const filterValue = state.query.length === 0 |
| 2281 | ? renderOptions?.plain === true |
| 2282 | ? FILE_FILTER_PLACEHOLDER |
| 2283 | : Ansi.annotate(FILE_FILTER_PLACEHOLDER, Ansi.blackBright) |
| 2284 | : renderOptions?.plain === true |
| 2285 | ? state.query |
| 2286 | : Ansi.annotate(state.query, Ansi.combine(Ansi.underlined, Ansi.cyanBright)) |
| 2287 | return `[${FILE_FILTER_LABEL}: ${filterValue}]` |
| 2288 | } |
| 2289 | |
| 2290 | const renderFiles = ( |
| 2291 | state: FileState, |
no test coverage detected