diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-22 00:42:23 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | 52d6fb1ab1f7d41839edebb63c3408578cd44e3c (patch) | |
tree | d33c81682f014f242b1c4d138ede71d90ca39b8e /st.h | |
parent | cfc7acdfd923924ae150a32061fb95987697b159 (diff) | |
download | st-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.gz st-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.bz2 st-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.zip |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |