mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
removed debug code.
This commit is contained in:
parent
5ce6c5c032
commit
df5c5ed045
1 changed files with 1 additions and 3 deletions
4
st.c
4
st.c
|
@ -392,11 +392,9 @@ ttyread(void) {
|
||||||
|
|
||||||
if((ret = read(cmdfd, buf, LEN(buf))) < 0)
|
if((ret = read(cmdfd, buf, LEN(buf))) < 0)
|
||||||
die("Couldn't read from shell: %s\n", SERRNO);
|
die("Couldn't read from shell: %s\n", SERRNO);
|
||||||
else {
|
else
|
||||||
printf("ttyread %d\n", ret);
|
|
||||||
tputs(buf, ret);
|
tputs(buf, ret);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ttywrite(const char *s, size_t n) {
|
ttywrite(const char *s, size_t n) {
|
||||||
|
|
Loading…
Reference in a new issue