Un fork de lavat pour pouvoir y ajouter des titres - retour accueil
git clone git://bebou.netlib.re/lavat
Log | Files | Refs | README | LICENSE |
commit 95e57a69766065a6a8b186a4087eafe6449f3732 parent 23898d8c4baf72e4a9d9f8c4e0363feb448068a0 Auteurice: Angel Jumbo <anarjumb@gmail.com> Date: Mon, 17 Oct 2022 11:10:04 -0500 A better -F option Diffstat:
M | lavat.c | | | 14 | +------------- |
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/lavat.c b/lavat.c @@ -107,24 +107,12 @@ int main(int argc, char *argv[]) { } } else { if (sum[0] > radius) { - if (sum[1] > radius) { - tb_printf(i, j, color | TB_BOLD, 0, custom); - } else { - tb_printf(i, j, color | TB_BOLD, 0, custom); - } - } else if (sum[1] > radius) { tb_printf(i, j, color | TB_BOLD, 0, custom); } if (rim) { if (sum[0] > innerRadius) { - if (sum[1] > innerRadius) { - tb_printf(i, j, color, 0, custom); - } else { - tb_printf(i, j, color | TB_BOLD, color, custom); - } - } else if (sum[1] > innerRadius) { - tb_printf(i, j, color | TB_BOLD, color, custom); + tb_printf(i, j, color, 0, custom); } } }