Creating a panel from the menu inquires the user for cache ##panels

This commit is contained in:
Vanellope 2018-12-04 20:48:42 +09:00 committed by radare
parent 083810065c
commit 7653c2eda9

View File

@ -475,7 +475,8 @@ static int layoutSidePanel(void *user) {
}
}
}
addPanelFrame (core, panels, child->name, cmd, 0);
int caching = r_cons_yesno ('y', "Cache the result? (Y/n)");
addPanelFrame (core, panels, child->name, cmd, caching);
changePanelNum (panels, panels->n_panels - 1, 0);
panel[0].pos.x = 0;
panel[0].pos.y = 1;