@@ -350,7 +350,6 @@ impl Component for EditorView {
350 Event::Resize(width, height) => {
350 Event::Resize(width, height) => {
351 // HAXX: offset the render area height by 1 to account for prompt/commandline
351 // HAXX: offset the render area height by 1 to account for prompt/commandline
352 cx.editor.tree.resize(Rect::new(0, 0, width, height - 1));
352 cx.editor.tree.resize(Rect::new(0, 0, width, height - 1));
353− // TODO: restore view.ensure_cursor_in_view();
354 EventResult::Consumed(None)
353 EventResult::Consumed(None)
356 Event::Key(event) => {
355 Event::Key(event) => {