on master help sign in
Sync up view size to terminal size for now.
2c3b10dBlaž Hrastnik
helix-term/src/editor.rs+1
@@ -278,6 +278,7 @@ impl Editor {
278
278
279 // TODO: simplistic ensure cursor in view for now
279 // TODO: simplistic ensure cursor in view for now
280 if let Some(view) = &mut self.view {
280 if let Some(view) = &mut self.view {
281+ view.size = self.size;
281 view.ensure_cursor_in_view()
282 view.ensure_cursor_in_view()
282 };
283 };
283
284