mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-11-16 12:46:39 +00:00
A better -F option
This commit is contained in:
parent
c28bd26a10
commit
9a8ce1575d
14
lavat.c
14
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user