diff options
Diffstat (limited to 'lib/aec/aec.c')
| -rw-r--r-- | lib/aec/aec.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/aec/aec.c b/lib/aec/aec.c index d38e8d1..92a1f08 100644 --- a/lib/aec/aec.c +++ b/lib/aec/aec.c @@ -12,6 +12,23 @@ void sgr(const char *attrs) } +void foreground(const char *code) +{ + csi(); + wstd("3"); + wstd(code); + wstd("m"); +} + + +void background(const char *code) +{ + csi(); + wstd("4"); + wstd(code); + wstd("m"); +} + #ifdef AEC_UNIT_TEST int main() { |