mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
wip
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# Task 05: Multi-line Composer Support (Ctrl+J & Auto-Expand)
|
||||
|
||||
## Goal
|
||||
Enable users to insert newlines in the chat prompt without submitting the message when they press `Ctrl+J`. The composer box should auto-expand vertically up to a configurable maximum height.
|
||||
|
||||
## Acceptance Criteria
|
||||
- Pressing `Ctrl+J` when focused in the prompt adds a newline instead of submitting.
|
||||
- The composer widget grows in height as lines wrap or newlines are inserted, up to a max height (e.g. 10 lines).
|
||||
- Below the max height, the input box uses a scrollbar or stops expanding.
|
||||
- Behavior is consistent across windows and respects TUI resize events.
|
||||
|
||||
## Notes
|
||||
- This requires changes in `tui/src/bottom_pane/chat_composer.rs` logic and layout in `tui/src/bottom_pane/bottom_pane_view.rs`.
|
||||
Reference in New Issue
Block a user