now it's way easier to move around multiple panels.

This commit is contained in:
vane11ope 2018-07-10 21:50:54 +09:00 committed by radare
parent 16e9a92dd2
commit 21b52ff45d

View File

@ -1730,6 +1730,12 @@ repeat:
// sleep (1);
break;
}
const int keyNum = key - 48;
if ('0' <= key && key <= '9' && keyNum < panels->n_panels) {
panels->panel[panels->curnode].refresh = true;
panels->curnode = keyNum;
panels->panel[panels->curnode].refresh = true;
}
goto repeat;
exit:
core->print->cur = originCursor;