mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +00:00
Crop graph nodes to enhance the experience
This commit is contained in:
parent
b8540e98a8
commit
2db1ccfaf3
@ -1678,6 +1678,11 @@ static char *get_body(RCore *core, ut64 addr, int size, int opts) {
|
||||
core->print->cur_enabled = o_cursor;
|
||||
r_config_restore (hc);
|
||||
r_config_hold_free (hc);
|
||||
char *crop = r_str_ansi_crop (body, 0, 0, 60, 99999);
|
||||
if (crop) {
|
||||
free (body);
|
||||
return crop;
|
||||
}
|
||||
return body;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user