1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-04 06:45:50 +03:00

fix warnings and compile errors due to ratatui v0.28 update

Этот коммит содержится в:
rhysd
2024-08-08 00:12:17 +09:00
родитель 5d77bf8a9a
Коммит 9650a1171a
12 изменённых файлов: 32 добавлений и 21 удалений

Просмотреть файл

@@ -33,7 +33,7 @@ fn main() -> io::Result<()> {
let chunks = Layout::default()
.direction(Direction::Vertical)
.constraints([Constraint::Length(height), Constraint::Min(0)])
.split(f.size());
.split(f.area());
f.render_widget(&textarea, chunks[0]);
})?;
match crossterm::event::read()?.into() {