diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-19 23:10:44 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-19 23:10:44 +0100 |
| commit | 6f77c541db4f58d7a3fbc8fbd52caa4c379a884e (patch) | |
| tree | cfb1fb6d46f984d4ba3278f2be1f3fbd9aeeb23d /lib/aec/aec.c | |
| parent | 85139c4208063a911d9ac8c871dc1052d2712c17 (diff) | |
add aec to wstdf
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() { |