While the `TextArea` used in the Rust TUI is "multiline," it is not like an HTML `<textarea>` in that it does not wrap, so there was not much benefit to setting `MIN_TEXTAREA_ROWS` to `3`, so this PR changes it to `1`. Though there are now three ways to "increase" the height due to actual linebreaks: * paste in multiline content (this worked before this PR) * pressing `Ctrl+J` will insert a newline * if you have your terminal emulator set such that it is possible to press something that `crossterm` interprets as "Enter plus some modifier," then now that will also work Now things look a bit more compact on startup: <img width="745" alt="image" src="https://github.com/user-attachments/assets/86e2857f-f31c-46f5-a80b-1ab2120b266e" /> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||