Fix highlighting (#11016)

This commit is contained in:
Rene Laemmert 2018-08-10 15:24:24 +02:00 committed by radare
parent e434a5938b
commit b2aa8d1804

View File

@ -2497,7 +2497,7 @@ R_API int r_core_visual_cmd(RCore *core, const char *arg) {
visual_search (core); visual_search (core);
} else { } else {
if (autoblocksize) { if (autoblocksize) {
r_core_cmd0 (core, "?i highlight;e scr.highlight=`?y`"); r_core_cmd0 (core, "?i highlight;e scr.highlight=`yp`");
} else { } else {
r_core_block_size (core, core->blocksize - cols); r_core_block_size (core, core->blocksize - cols);
} }