Skip to content

Commit

Permalink
Dont softscroll when var summary is set ##visual
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored and trufae committed Dec 5, 2024
1 parent 8d04883 commit 79a2126
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libr/core/visual.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 79a2126

Please sign in to comment.