diff --git a/src/views/text_area.rs b/src/views/text_area.rs index 1b6ff7e..4d370e6 100644 --- a/src/views/text_area.rs +++ b/src/views/text_area.rs @@ -39,6 +39,8 @@ fn make_rows(text: &str, width: usize) -> Vec { .collect() } +new_default!(TextArea); + impl TextArea { /// Creates a new, empty TextArea. pub fn new() -> Self {