Skip to content

Commit

Permalink
Handle 'e' in '"'
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jul 31, 2019
1 parent 585ed18 commit 6551397
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libr/core/panels.c
Original file line number Diff line number Diff line change
Expand Up @@ -5653,6 +5653,17 @@ void __create_almighty(RCore *core, RPanel *panel, Sdb *menu_db) {
}
}
switch (key) {
case 'e':
{
__free_modal (&modal);
__set_refresh_all (core, false, false);
char *cmd = __show_status_input (core, "New command: ");
if (R_STR_ISNOTEMPTY (cmd)) {
__replace_cmd (core, cmd, cmd);
}
free (cmd);
}
break;
case 'j':
modal->idx++;
__update_modal (core, menu_db, modal);
Expand Down

0 comments on commit 6551397

Please sign in to comment.