Sync up view size to terminal size for now.
This commit is contained in:
parent
935cfeae57
commit
2c3b10dbb0
@ -278,6 +278,7 @@ pub async fn event_loop(&mut self) {
|
||||
|
||||
// TODO: simplistic ensure cursor in view for now
|
||||
if let Some(view) = &mut self.view {
|
||||
view.size = self.size;
|
||||
view.ensure_cursor_in_view()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user