diff --git a/src/views/text_area.rs b/src/views/text_area.rs index 1f2cc80..91fc316 100644 --- a/src/views/text_area.rs +++ b/src/views/text_area.rs @@ -13,8 +13,9 @@ use view::{ScrollBase, SizeCache, View}; /// Multi-lines text editor. /// -/// A `TextArea` will attempt to grow vertically dependent on the content. -/// Wrap it in a `BoxView` to constrain its size. +/// A `TextArea` will attempt to grow vertically and horizontally +/// dependent on the content. Wrap it in a `BoxView` to +/// constrain its size. pub struct TextArea { // TODO: use a smarter data structure (rope?) content: String,