Sync up view size to terminal size for now.

pull/1/head
Blaž Hrastnik 2020-09-21 18:25:56 +09:00
parent 935cfeae57
commit 2c3b10dbb0
1 changed files with 1 additions and 0 deletions

View File

@ -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()
};