aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/pty_process.h')
-rw-r--r--src/nvim/os/pty_process.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/os/pty_process.h b/src/nvim/os/pty_process.h
index 62fcd1671f..b5a2eba8b3 100644
--- a/src/nvim/os/pty_process.h
+++ b/src/nvim/os/pty_process.h
@@ -1,6 +1,16 @@
#ifndef NVIM_OS_PTY_PROCESS_H
#define NVIM_OS_PTY_PROCESS_H
+#include <sys/ioctl.h>
+
+#include <uv.h>
+
+typedef struct {
+ struct winsize winsize;
+ uv_pipe_t proc_stdin, proc_stdout, proc_stderr;
+ int tty_fd;
+} PtyProcess;
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "os/pty_process.h.generated.h"
#endif