summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/term.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/term.sh b/src/term.sh
index 6ce8d64..c987031 100644
--- a/src/term.sh
+++ b/src/term.sh
@@ -249,6 +249,16 @@ term_attr_reset()
return 0
}
+term_write()
+{
+ local s="${1}"
+ shift 1
+
+ printf '%s' "${s}" >"${term_tty}"
+
+ return 0
+}
+
_term_get_byte()
{
# Damn command substitutions eat trailing whitespace. Even if