From f2e27c46d645a6ffcd296b3d85dd078965b29d06 Mon Sep 17 00:00:00 2001 From: "Rai (Michael Pokorny)" Date: Sat, 21 Jun 2025 06:40:33 -0700 Subject: [PATCH] wip --- tasks/05-textbox-newline-expansion.md | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tasks/05-textbox-newline-expansion.md diff --git a/tasks/05-textbox-newline-expansion.md b/tasks/05-textbox-newline-expansion.md deleted file mode 100644 index fbd72fb0cf..0000000000 --- a/tasks/05-textbox-newline-expansion.md +++ /dev/null @@ -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`. \ No newline at end of file