Better cmd.gprompt

This commit is contained in:
pancake 2017-06-28 12:59:11 +02:00
parent dac86f039a
commit 78667c5b64

View File

@ -2653,7 +2653,9 @@ static int agraph_print(RAGraph *g, int is_interactive, RCore *core, RAnalFuncti
const char *cmdv;
cmdv = r_config_get (core->config, "cmd.gprompt");
if (cmdv && *cmdv) {
r_cons_gotoxy (0, 1);
r_cons_gotoxy (0, 0);
r_cons_fill_line ();
r_cons_gotoxy (0, 0);
r_core_cmd0 (core, cmdv);
}
r_cons_flush ();