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-patched-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.bz2 st-patched-52d6fb1ab1f7d41839edebb63c3408578cd44e3c.tar.xz st-patched-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); | |||
176 | void ttynew(char *, char *, char **); | 176 | void ttynew(char *, char *, char **); |
177 | size_t ttyread(void); | 177 | size_t ttyread(void); |
178 | void ttyresize(int, int); | 178 | void ttyresize(int, int); |
179 | void ttysend(char *, size_t); | 179 | void ttywrite(const char *, size_t, int); |
180 | void ttywrite(const char *, size_t); | ||
181 | 180 | ||
182 | void resettitle(void); | 181 | void resettitle(void); |
183 | 182 | ||