summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/term.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/term.sh b/src/term.sh
index 0146ea1..6ce8d64 100644
--- a/src/term.sh
+++ b/src/term.sh
@@ -241,6 +241,14 @@ term_bg_color_set()
return 0
}
+term_attr_reset()
+{
+ # SGR
+ printf '\033[0m' >"${term_tty}"
+
+ return 0
+}
+
_term_get_byte()
{
# Damn command substitutions eat trailing whitespace. Even if