зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-03 14:26:17 +03:00
implement undo/redo
Этот коммит содержится в:
@@ -18,7 +18,7 @@ fn main() -> io::Result<()> {
|
||||
let mut term = Terminal::new(backend)?;
|
||||
|
||||
let mut textarea = TextArea::default();
|
||||
textarea.block(Block::default().borders(Borders::ALL).title("EXAMPLE"));
|
||||
textarea.set_block(Block::default().borders(Borders::ALL).title("EXAMPLE"));
|
||||
let layout = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
.constraints([Constraint::Min(1)].as_ref());
|
||||
|
||||
Ссылка в новой задаче
Block a user