mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-11 13:51:10 -07:00
Fix bottom border rendering for search and add a regression test. (#20517)
This commit is contained in:
@@ -47,7 +47,10 @@ export function getToolGroupBorderAppearance(
|
||||
: allPendingItems
|
||||
.filter(
|
||||
(i): i is HistoryItemToolGroup =>
|
||||
i !== null && i !== undefined && i.type === 'tool_group',
|
||||
i !== null &&
|
||||
i !== undefined &&
|
||||
i.type === 'tool_group' &&
|
||||
i.tools.length > 0,
|
||||
)
|
||||
.slice(-1)
|
||||
.flatMap((i) => i.tools);
|
||||
|
||||
Reference in New Issue
Block a user