diff --git a/src/main.rs b/src/main.rs index bd3571c3..4ee9c021 100644 --- a/src/main.rs +++ b/src/main.rs @@ -521,6 +521,9 @@ impl Inlyne { &self.opts.file_path, contents, ); + // TODO: Once and if history is implemented, + // old scroll_y might be stored there + self.renderer.set_scroll_y(0.); } Err(err) => { tracing::warn!(