-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionality
Description
What would you like to be added?
Feature Request: Fix Missing Stdout and Enhance ANSI Color Support
Description
There are currently two primary issues when executing commands via the ai interface in Gemini-cli:
- Missing Output: In certain scenarios,
stdoutis not being displayed at all, leaving the user without feedback on the command's execution. - Lack of Color Support: When output is visible, ANSI escape sequences for colors are not consistently rendered.
Proposed Changes
- Fix Stdout Stream: Ensure that all standard output from executed commands is captured and displayed reliably to the user.
- Implement ANSI Support: Enable full rendering for standard ANSI color codes (8/16 colors) so that status messages and logs are readable.
Example Issues
- Running a command that should return text results in an empty response.
- Commands like
echo -e "\e[31mError\e[0m"display the raw escape codes instead of colored text.
Use Case & Benefits
- Transparency: Users need to see the output to verify that commands have run correctly.
- Error Identification: Visual cues (red for errors, green for success) significantly improve the speed of troubleshooting.
- Reliability: Ensures Gemini-cli behaves like a standard, dependable terminal environment.
Note: This request specifically addresses the Gemini-cli interface and its handling of process output.
Why is this needed?
Why is this needed?
- Visibility: Missing stdout makes it impossible to verify if a command succeeded, failed, or is hung. Users are effectively "blind" to the process execution.
- Standardization: ANSI color support is a baseline requirement for modern CLI tools to distinguish between errors, warnings, and success states.
- Reliability: For AI-assisted workflows, consistent feedback from the terminal is critical for accuracy and debugging. Without it, the interface is unreliable for technical tasks.
Additional context
No response
Metadata
Metadata
Assignees
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionality