mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-30 06:21:31 +00:00
fix: actually clear buffer in TestBackend::clear (#461)
This commit is contained in:
parent
1028d39db0
commit
d47565be5c
@ -137,6 +137,7 @@ impl Backend for TestBackend {
|
||||
}
|
||||
|
||||
fn clear(&mut self) -> Result<(), io::Error> {
|
||||
self.buffer.reset();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user