mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 04:33:13 +00:00
fix(terminal): resize() now resizes fixed viewports (#1353)
`Terminal::resize()` on a fixed viewport used to do nothing due to an accidentally shadowed variable. This now works as intended.
This commit is contained in:
parent
b13e2f9473
commit
0f48239778
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ where
|
|||
)?
|
||||
.0
|
||||
}
|
||||
Viewport::Fixed(area) => area,
|
||||
Viewport::Fixed(_) => area,
|
||||
};
|
||||
self.set_viewport_area(next_area);
|
||||
self.clear()?;
|
||||
|
|
Loading…
Reference in a new issue