[hotkeys] fix 'R' hotkey issue

set_top() was called instead of set_selection()

Mentioned in #1193
This commit is contained in:
Tim Stack 2023-10-06 13:29:43 -07:00
parent 21377958ca
commit bab9f8dd9e

View File

@ -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());
}
}