aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2018-02-22 00:42:23 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit52d6fb1ab1f7d41839edebb63c3408578cd44e3c (patch)
treed33c81682f014f242b1c4d138ede71d90ca39b8e /st.h
parentcfc7acdfd923924ae150a32061fb95987697b159 (diff)
downloadst-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.gz
st-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.bz2
Move terminal echo logic into st.c
The only thing differentiating ttywrite and ttysend was the potential for echo; make this a parameter and remove ttysend. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h')
-rw-r--r--st.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.h b/st.h
index a34e31c..d7738a0 100644
--- a/st.h
+++ b/st.h
@@ -176,8 +176,7 @@ void tsetdirtattr(int);
void ttynew(char *, char *, char **);
size_t ttyread(void);
void ttyresize(int, int);
-void ttysend(char *, size_t);
-void ttywrite(const char *, size_t);
+void ttywrite(const char *, size_t, int);
void resettitle(void);