log: hide r2 output

This commit is contained in:
Dobin
2024-02-17 20:44:08 +00:00
parent 1b738c55b3
commit dc13ff3c93
+1 -1
View File
@@ -19,7 +19,7 @@ def r2_disas(data: bytes):
f.write(data)
code_len = len(data)
r2 = r2pipe.open(filename, flags=['-e', 'scr.prompt=false'])
r2 = r2pipe.open(filename, flags=['-2'])
r2.cmd('aaa')
r2.cmd('e scr.color=0')