From 79a212688e295cd7e949ea0434377a47dc55c2c2 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 5 Dec 2024 20:38:36 +0100 Subject: [PATCH] Dont softscroll when var summary is set ##visual --- libr/core/visual.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libr/core/visual.c b/libr/core/visual.c index 9c7bcbf9ba9c1..f64d33a266286 100644 --- a/libr/core/visual.c +++ b/libr/core/visual.c @@ -4625,6 +4625,10 @@ static void visual_refresh_oneshot(RCore *core) { } static int varcount(RCore *core, RAnalFunction *f) { + int mode = r_config_get_i (core->config, "asm.var.summary"); + if (mode != 0) { + return 0; + } RAnalFcnVarsCache vars_cache; if (!f) { f = r_anal_get_function_at (core->anal, core->offset);