Fix the PageUp and PageDown in graph mode in Vv (#4321)

This commit is contained in:
Peiwei Hu 2024-03-02 21:56:11 -08:00 committed by GitHub
parent 4a0dca6613
commit b8ddd4df67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -890,7 +890,6 @@ RZ_IPI void rz_core_visual_analysis(RzCore *core, const char *input) {
break;
case 'J':
if (selectPanel) {
printMode = 1;
delta += 40;
} else {
int rows = 0;
@ -903,8 +902,9 @@ RZ_IPI void rz_core_visual_analysis(RzCore *core, const char *input) {
break;
case 'K':
if (selectPanel) {
printMode = 1;
delta -= 40;
if (delta > 40) {
delta -= 40;
}
} else {
int rows = 0;
rz_cons_get_size(&rows);