Skip to content

Commit

Permalink
Vx supports mouse wheel now
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Nov 25, 2018
1 parent 8eb77d8 commit ef997d8
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 @@ -1205,6 +1205,10 @@ R_API int r_core_visual_refs(RCore *core, bool xref, bool fcnInsteadOfAddr) {
r_config_set_i (core->config, "asm.bytes", asm_bytes);
}
r_cons_flush ();
int wheel = r_config_get_i (core->config, "scr.wheel");
if (wheel > 0) {
r_cons_enable_mouse (true);
}
ch = r_cons_readchar ();
ch = r_cons_arrow_to_hjkl (ch);
if (ch == ':') {
Expand Down

0 comments on commit ef997d8

Please sign in to comment.