From 7653c2eda9ea3717115e0b4d8ba887fd84413891 Mon Sep 17 00:00:00 2001 From: Vanellope Date: Tue, 4 Dec 2018 20:48:42 +0900 Subject: [PATCH] Creating a panel from the menu inquires the user for cache ##panels --- libr/core/panels.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libr/core/panels.c b/libr/core/panels.c index 87b98e6656..db23162269 100644 --- a/libr/core/panels.c +++ b/libr/core/panels.c @@ -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;