summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-23 20:45:09 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-23 20:45:09 -0500
commit9440352c02ab469207e3a09dde6b1be5654a3d53 (patch)
treeb2e7f1d12fbd699dd14b75379a63d2a1ff0ccd55
parent06c7a8292addbfcf118ad0b025aae97694307ec7 (diff)
implement in terms of tputs()
-rw-r--r--src/term/putp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/putp.c b/src/term/putp.c
index 11eb5e48..f78afcf6 100644
--- a/src/term/putp.c
+++ b/src/term/putp.c
@@ -2,7 +2,7 @@
int putp(const char * str)
{
- return -1;
+ return tputs(str, 1, putchar);
}
/*