Skip to content

Commit ca0809d

Browse files
committed
Fix cursor position after "Move to parent" in blame view
Fixes #973
1 parent 6202c60 commit ca0809d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ blame_go_forward(struct view *view, struct blame *blame, bool parent)
425425
string_ncopy(view->env->file, filename, strlen(filename));
426426
if (parent)
427427
setup_blame_parent_line(view, blame);
428-
view->env->goto_lineno = blame->lineno;
428+
view->env->goto_lineno = view->pos.lineno;
429429
reload_view(view);
430430
}
431431

0 commit comments

Comments
 (0)