Skip to content

Commit

Permalink
[hotkeys] fix 'R' hotkey issue
Browse files Browse the repository at this point in the history
set_top() was called instead of set_selection()

Mentioned in tstack#1193
  • Loading branch information
tstack authored and ppsx committed Feb 29, 2024
1 parent 627fc29 commit bc3fcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotkeys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ handle_paging_key(int ch)
done = true;
}
} while (!done);
tc->set_top(vl);
tc->set_selection(vl);
lnav_data.ld_rl_view->set_value(" " + rt.to_string());
}
}
Expand Down

0 comments on commit bc3fcde

Please sign in to comment.