aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty-unix.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-04 21:52:59 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-04 21:52:59 -0400
commit6ceb606a155d2950ca7e5fd2165997246494caeb (patch)
tree5bcbb1082aba7e35a8130b66423f9eadc56d3866 /src/pty-unix.h
parentd78ae64f0682a4aef09e9ff77e8748af9b2380b9 (diff)
downloadrunes-6ceb606a155d2950ca7e5fd2165997246494caeb.tar.gz
runes-6ceb606a155d2950ca7e5fd2165997246494caeb.zip
more refactoring
Diffstat (limited to 'src/pty-unix.h')
-rw-r--r--src/pty-unix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pty-unix.h b/src/pty-unix.h
index 0d96aa9..cf9fdf6 100644
--- a/src/pty-unix.h
+++ b/src/pty-unix.h
@@ -5,6 +5,10 @@ struct runes_pty {
int master;
int slave;
pid_t child_pid;
+
+ char readbuf[RUNES_READ_BUFFER_LENGTH];
+ int readlen;
+ int remaininglen;
};
void runes_pty_backend_spawn_subprocess(RunesTerm *t);