mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-23 14:28:07 +00:00
ec* shows bgcolor too for fgbg color (#13602)
This commit is contained in:
parent
2a1a93872e
commit
68ffec8308
@ -521,8 +521,13 @@ R_API void r_cons_pal_list(int rad, const char *arg) {
|
||||
case '*':
|
||||
case 'r':
|
||||
case 1:
|
||||
r_cons_printf ("ec %s rgb:%02x%02x%02x\n",
|
||||
r_cons_printf ("ec %s rgb:%02x%02x%02x",
|
||||
keys[i].name, rcolor->r, rcolor->g, rcolor->b);
|
||||
if (rcolor->a == ALPHA_FGBG) {
|
||||
r_cons_printf (" rgb:%02x%02x%02x",
|
||||
rcolor->r2, rcolor->g2, rcolor->b2);
|
||||
}
|
||||
r_cons_newline ();
|
||||
break;
|
||||
default:
|
||||
r_cons_printf (" %s##"Color_RESET" %s\n", *color,
|
||||
|
Loading…
x
Reference in New Issue
Block a user