Skip to content

Commit

Permalink
Fix cursor position after "Move to parent" in blame view
Browse files Browse the repository at this point in the history
Fixes #973
  • Loading branch information
koutcher committed Nov 29, 2019
1 parent 6202c60 commit ca0809d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ blame_go_forward(struct view *view, struct blame *blame, bool parent)
string_ncopy(view->env->file, filename, strlen(filename));
if (parent)
setup_blame_parent_line(view, blame);
view->env->goto_lineno = blame->lineno;
view->env->goto_lineno = view->pos.lineno;
reload_view(view);
}

Expand Down

0 comments on commit ca0809d

Please sign in to comment.