From fa799768c4f6d97c5f60a37829ad1b457b7c0096 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Apr 2022 19:51:54 -0400 Subject: separate from libc --- term/exit_attribute_mode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 term/exit_attribute_mode.c (limited to 'term/exit_attribute_mode.c') diff --git a/term/exit_attribute_mode.c b/term/exit_attribute_mode.c new file mode 100644 index 0000000..43d2eda --- /dev/null +++ b/term/exit_attribute_mode.c @@ -0,0 +1,11 @@ +#include + +#define exit_attribute_mode tigetstr("sgr0") + +/** turn off all attributes **/ + +/* +TERMINFO_NAME(sgr0) +TERMCAP_NAME(me) +XOPEN(400) +*/ -- cgit v1.2.1