mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
cmd: flush console buffer between multi-command
Tests fixed: db/cmd/feat_grep multi-command single-line grep db/cmd/cmd_zignature af ; af ; zfs libc-v10.sig - newshell db/cmd/cmd_zignature af ; af ; zfs libc-v7.sig - newshell New test failed: db/tools/rax2 C array {0x33,33,23,32} Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
This commit is contained in:
parent
a846d314dc
commit
e55da9853f
@ -3199,6 +3199,9 @@ static int r_core_cmd_subst(RCore *core, char *cmd) {
|
||||
free (cr);
|
||||
break;
|
||||
}
|
||||
if (colon) {
|
||||
r_cons_flush ();
|
||||
}
|
||||
if (cr && *cr && orep > 1) {
|
||||
// XXX: do not flush here, we need r_cons_push () and r_cons_pop()
|
||||
r_cons_flush ();
|
||||
|
Loading…
Reference in New Issue
Block a user