From 2c3b10dbb0f270bc83169d28e4ed665557be70ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 21 Sep 2020 18:25:56 +0900 Subject: [PATCH] Sync up view size to terminal size for now. --- helix-term/src/editor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs index e29e7ee8e..790c3f161 100644 --- a/helix-term/src/editor.rs +++ b/helix-term/src/editor.rs @@ -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() };