summaryrefslogtreecommitdiff
path: root/core/Output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Output.zig')
-rw-r--r--core/Output.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Output.zig b/core/Output.zig
index a1e5865e..380fadb1 100644
--- a/core/Output.zig
+++ b/core/Output.zig
@@ -1041,6 +1041,7 @@ pub fn openErrors(p: *Pardes, id: usize, content: []u8) !void {
pub fn resetBody(p: *Pardes, pane: *Pane) void {
const v = p.view();
pane.file.?.scroll = 0;
+ pane.file.?.scroll_row = 0;
pane.body.cur_row = 0;
pane.body.cur_col = 0;
pane.body.cur_pinned = true;