line wrapping is now working properly well

This commit is contained in:
Priec
2025-08-18 09:44:53 +02:00
parent 6588f310f2
commit 5efee3f044
4 changed files with 283 additions and 23 deletions

View File

@@ -77,6 +77,7 @@ Press ? for help, F1/F2 for manual cursor control demo.";
let mut textarea = TextAreaState::from_text(initial_text);
textarea.set_placeholder("Start typing...");
textarea.use_wrap();
Self {
textarea,