on master help sign in
Sync up view size to terminal size for now.
commit2c3b10dbb0f270bc83169d28e4ed665557be70ca authorBlaž Hrastnik <blaz@mxxn.io> dateMon 21 Sep 2020, 18:25 (6 years ago) parent935cfea
1 file changed+1
helix-term/src/editor.rs+1
helix-term/src/editor.rs+1
@@ -278,6 +278,7 @@ impl Editor {
278278
279279 // TODO: simplistic ensure cursor in view for now
280280 if let Some(view) = &mut self.view {
281+ view.size = self.size;
281282 view.ensure_cursor_in_view()
282283 };
283284