Add 'A' and 'd' keys in visual panels

This commit is contained in:
pancake 2018-05-10 10:51:35 +02:00
parent d1d68ad1cc
commit a23212b464
2 changed files with 7 additions and 1 deletions

View File

@ -1044,6 +1044,12 @@ repeat:
}
doRefresh (panels);
break;
case 'A':
r_core_visual_asm (core, core->offset);
break;
case 'd':
r_core_visual_define (core, "");
break;
case 'j':
r_cons_switchbuf(false);
panels->panel[panels->curnode].refresh = true;

View File

@ -2742,7 +2742,7 @@ R_API void r_core_visual_define (RCore *core, const char *args) {
h = 0;
r_cons_clear00 ();
} else {
r_cons_gotoxy (0, h);
r_cons_gotoxy (0, 3);
}
const char *lines[] = { ""
,"[Vd]- Define current block as:"