diff options
| author | Evan Senter <[email protected]> | 2025-04-19 14:31:59 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-19 14:31:59 +0100 |
| commit | 75ecb4a81fa76aa00374601b2c0bbe9d657b4aa7 (patch) | |
| tree | 5793e545a45073801a1c817530ff095769e1399c /packages/cli/src/ui/hooks/useGeminiStream.ts | |
| parent | 2f5f6baf0f4c9c1133b0271fcb3b9e89402b97a1 (diff) | |
Adding in a history buffer (#38)
Up and down arrows traverse the command history.
Diffstat (limited to 'packages/cli/src/ui/hooks/useGeminiStream.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useGeminiStream.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/useGeminiStream.ts b/packages/cli/src/ui/hooks/useGeminiStream.ts index dc108701..8cbb5f51 100644 --- a/packages/cli/src/ui/hooks/useGeminiStream.ts +++ b/packages/cli/src/ui/hooks/useGeminiStream.ts @@ -112,7 +112,7 @@ export const useGeminiStream = ( const maybeCommand = trimmedQuery.split(/\s+/)[0]; if (allowlistedCommands.includes(maybeCommand)) { - exec(trimmedQuery, (error, stdout, stderr) => { + exec(trimmedQuery, (error, stdout) => { const timestamp = getNextMessageId(userMessageTimestamp); // TODO: handle stderr, error addHistoryItem( |
