Fix crash in RConfig.setString(int) and add VbT to browse themes

This commit is contained in:
pancake 2018-02-24 19:44:09 +01:00
parent bcb7dcf717
commit d045b70c2d
2 changed files with 5 additions and 1 deletions

View File

@ -958,7 +958,7 @@ static char *core_anal_graph_label(RCore *core, RAnalBlock *bb, int opts) {
const bool scrColor = r_config_get (core->config, "scr.color");
const bool scrUtf8 = r_config_get (core->config, "scr.utf8");
const bool asmComments = r_config_get (core->config, "asm.comments");
r_config_set (core->config, "scr.color", COLOR_MODE_DISABLED);
r_config_set_i (core->config, "scr.color", COLOR_MODE_DISABLED);
r_config_set (core->config, "scr.utf8", "false");
r_config_set (core->config, "asm.comments", "false");
snprintf (cmd, sizeof (cmd),

View File

@ -1504,6 +1504,7 @@ static void visual_browse(RCore *core) {
" q quit\n"
" s symbols\n"
" t types\n"
" T themes\n"
" v vars\n"
" x xrefs\n"
" X refs\n"
@ -1529,6 +1530,9 @@ static void visual_browse(RCore *core) {
case 't':
r_core_visual_types (core);
break;
case 'T':
r_core_cmd0 (core, "eco $(eco~...)");
break;
case 'e':
r_core_visual_config (core);
break;