mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-11 00:56:52 +00:00
Fix #13367 - last line glitch in r_cons_strcat_at
This commit is contained in:
parent
0823980429
commit
67bc30a5f6
@ -264,6 +264,7 @@ R_API void r_cons_strcat_at(const char *_str, int x, char y, int w, int h) {
|
||||
}
|
||||
}
|
||||
if (len > 1) {
|
||||
r_cons_gotoxy (x, y + rows);
|
||||
r_cons_memcat (str + o, len);
|
||||
}
|
||||
r_cons_strcat (Color_RESET);
|
||||
|
@ -205,7 +205,7 @@ R_API int __core_visual_view_graph_update(RCore *core, RCoreVisualViewGraph *sta
|
||||
char *output = r_core_cmd_strf (core, "pd %d @e:asm.flags=0@ 0x%08"PFMT64x"; pds 256 @ 0x%08"PFMT64x"\n",
|
||||
32, status->addr);
|
||||
int disy = colh + 2;
|
||||
r_cons_strcat_at (output, 0, disy, w, h - disy);
|
||||
r_cons_strcat_at (output, 10, disy, w, h - disy);
|
||||
free (output);
|
||||
r_cons_flush();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user