Sync up view size to terminal size for now.

pull/1/head
Blaž Hrastnik 4 years ago
parent 935cfeae57
commit 2c3b10dbb0

@ -278,6 +278,7 @@ impl Editor {
// 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…
Cancel
Save