mirror of
https://github.com/tstack/lnav
synced 2024-11-03 23:15:38 +00:00
[hotkey] when scanning through search hits, move to the last hits
This commit is contained in:
parent
854c79108e
commit
a69d4c37a4
@ -943,6 +943,9 @@ bool moveto_cluster(vis_line_t(bookmark_vector<vis_line_t>::*f) (vis_line_t),
|
||||
vis_line_t new_top;
|
||||
|
||||
new_top = next_cluster(f, bt, top);
|
||||
if (new_top == -1) {
|
||||
new_top = next_cluster(f, bt, tc->get_top());
|
||||
}
|
||||
if (new_top != -1) {
|
||||
tc->set_top(new_top);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user