-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Brief Summary/Overview
The Orchestrator's input bar should be enhanced to support multiline input, allowing users to insert newlines and have them displayed in a well-formatted manner.
Motivation
Currently, the input bar does not gracefully handle multiline input. Users expect to be able to insert newlines for better readability and structuring of longer messages or commands. Tools like Gum Write already provide similar functionality (e.g., via Ctrl J), indicating a common user expectation for such features in terminal-based input fields. Additionally, when Shift Enter is used in the terminal, it currently produces visible backslashes within the input field, which degrades the user experience and readability.
Proposed Solution
Implement functionality within the Orchestrator's input bar to:
- Allow the insertion of newlines.
- Render these newlines in a visually appealing and readable format.
- Consider using
Shift Enteras an intuitive key combination for inserting newlines. - Add parsing or handling to suppress the display of backslashes that are currently produced by
Shift Enterin the terminal when inside the input field.
Acceptance Criteria
- The Orchestrator's input bar successfully accepts and displays multiline input.
- Newlines inserted by the user are formatted clearly and do not appear as raw control characters or backslashes.
- A user-friendly key combination (e.g.,
Shift Enter) can be used to insert newlines within the input field. - Backslashes that are typically produced by
Shift Enterin the terminal are not visible within the Orchestrator's input field.
Additional Context
For reference, Gum supports Gum Write which uses Ctrl J for newlines. The goal is to achieve a similar, intuitive newline input experience, potentially leveraging Shift Enter and addressing the current issue of visible backslashes.
🤖 Generated with Gemini CLI