Skip to content

Commit

Permalink
Fix incorrect behaviour of up and down keys in diff view when opened …
Browse files Browse the repository at this point in the history
…from diff preview

Fixes jonas#802
  • Loading branch information
koutcher committed May 28, 2018
1 parent d74e28a commit 1673bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tig.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ view_driver(struct view *view, enum request request)

case REQ_NEXT:
case REQ_PREVIOUS:
if (view->parent) {
if (view->parent && view == display[1]) {
int line;

view = view->parent;
Expand Down

0 comments on commit 1673bfd

Please sign in to comment.