Crop graph nodes to enhance the experience

This commit is contained in:
pancake 2017-02-15 03:32:00 +01:00
parent b8540e98a8
commit 2db1ccfaf3

View File

@ -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;
}