Sync up view size to terminal size for now.
This commit is contained in:
parent
935cfeae57
commit
2c3b10dbb0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue