tui-textarea is a simple yet powerful text editor widget for ratatui and tui-rs. Multi-line
text editor can be easily put as part of your TUI application.
usetui_textarea::TextArea;// Regression test for #4
#[test]fndisable_history(){letmut t =TextArea::default();
t.set_max_histories(0);assert!(t.insert_str("hello"));assert_eq!(t.lines(),["hello"]);}