diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx index e5b3dc440..ada84e487 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -1707,7 +1707,9 @@ function Glob(props: ToolProps) { return ( Glob "{props.input.pattern}" in {normalizePath(props.input.path)} - ({props.metadata.count} matches) + + ({props.metadata.count} {props.metadata.count === 1 ? "match" : "matches"}) + ) } @@ -1743,7 +1745,9 @@ function Grep(props: ToolProps) { return ( Grep "{props.input.pattern}" in {normalizePath(props.input.path)} - ({props.metadata.matches} matches) + + ({props.metadata.matches} {props.metadata.matches === 1 ? "match" : "matches"}) + ) }