зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-07 16:05:50 +03:00
fix warnings and compile errors due to ratatui v0.28 update
Этот коммит содержится в:
@@ -49,7 +49,7 @@ fn main() -> io::Result<()> {
|
||||
|
||||
loop {
|
||||
term.draw(|f| {
|
||||
let chunks = layout.split(f.size());
|
||||
let chunks = layout.split(f.area());
|
||||
f.render_widget(&textarea, chunks[0]);
|
||||
})?;
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user