Skip to content

Grow the Capture input only for multiline drafts#48

Merged
ScottMorris merged 1 commit intomainfrom
feat/taller-capture-input
Apr 2, 2026
Merged

Grow the Capture input only for multiline drafts#48
ScottMorris merged 1 commit intomainfrom
feat/taller-capture-input

Conversation

@ScottMorris
Copy link
Copy Markdown
Contributor

Summary

User-facing changes

  • Adaptive capture height: The TUI Capture input now stays compact for single-line text and grows as explicit new lines are added.
  • Visible multiline drafts: Multi-line notes get a few visible lines of space without permanently shrinking the thread and status panes.

Documentation

  • Behaviour notes: Updated the README and spec to describe the compact-by-default, grow-on-newline Capture pane.

Test plan

  • cargo fmt --check
  • cargo build
  • cargo clippy --workspace -- -D warnings
  • cargo test

**What:**
- keep the TUI Capture input compact for single-line text
- grow the input pane as explicit new lines are added, up to a small visible cap
- update the README and spec to describe the adaptive input height

**Why:**
- users should see more of a multiline draft only when they need it
- preserving the compact default keeps the rest of the TUI layout focused during normal single-line use
@ScottMorris ScottMorris added enhancement New feature or request tui liminal-flow-tui crate documentation Improvements or additions to documentation labels Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Flow Tests

100 tests  +4   100 ✅ +4   0s ⏱️ ±0s
  4 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit b534c4b. ± Comparison against base commit a54ff63.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

CI check summary

  • [PASS] Format: success
  • [PASS] Clippy: success
  • [PASS] Test: success

@ScottMorris ScottMorris merged commit 41b4514 into main Apr 2, 2026
5 checks passed
@ScottMorris ScottMorris deleted the feat/taller-capture-input branch April 2, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request tui liminal-flow-tui crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant