mirror of https://github.com/helix-editor/helix
Sync up view size to terminal size for now.
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…
Reference in New Issue