Fix the RCons.pal_init() issue :?

This commit is contained in:
pancake 2018-02-23 19:28:17 +01:00
parent 9abaf3d4a6
commit 06c519ead7
2 changed files with 2 additions and 1 deletions

View File

@ -472,6 +472,7 @@ R_API void r_cons_reset() {
R_FREE (I.grep.str);
ZERO_FILL (I.grep.tokens);
I.grep.tokens_used = 0;
r_cons_pal_init ();
}
R_API const char *r_cons_get_buffer() {

View File

@ -290,7 +290,7 @@ static int cmd_eval(void *data, const char *input) {
break;
case 'c': // "ec"
switch (input[1]) {
case 'd':
case 'd': // "ecd"
r_cons_pal_init ();
break;
case '?':