feat(shell): simplify prompt display and clean up shell console output#1257
Merged
feat(shell): simplify prompt display and clean up shell console output#1257
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the shell UI by removing user-specific information from prompts and improving the console output formatting. The changes clean up the visual presentation by removing username and working directory information from prompt displays, and adding better spacing in output.
Changes:
- Removed username and working directory path from prompt displays across multiple UI files
- Removed redundant Panel display of user input in the visualization flow
- Enhanced bottom toolbar shortcuts with graceful degradation for narrow terminals
- Added blank line after soul command execution for better output readability
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/kimi_cli/ui/shell/visualize.py | Removed unused imports (Message, Panel, message_stringify), removed user input Panel display on TurnBegin, added formatting blank line |
| src/kimi_cli/ui/shell/replay.py | Removed getpass import and username from replay history prompt display |
| src/kimi_cli/ui/shell/prompt.py | Removed getpass import, simplified prompt message rendering to remove username@directory prefix, enhanced bottom toolbar with horizontal separator and adaptive shortcut display |
| src/kimi_cli/ui/shell/init.py | Added blank line after soul command execution for output spacing |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
Checklist
make gen-changelogto update the changelog.make gen-docsto update the user documentation.