mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-11-16 04:36:40 +00:00
A better -F option
This commit is contained in:
parent
23898d8c4b
commit
95e57a6976
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