aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_proc_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/pty_proc_unix.h')
-rw-r--r--src/nvim/os/pty_proc_unix.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nvim/os/pty_proc_unix.h b/src/nvim/os/pty_proc_unix.h
new file mode 100644
index 0000000000..47f9af088e
--- /dev/null
+++ b/src/nvim/os/pty_proc_unix.h
@@ -0,0 +1,18 @@
+#pragma once
+// IWYU pragma: private, include "nvim/os/pty_proc.h"
+
+#include <stdint.h>
+#include <sys/ioctl.h>
+
+#include "nvim/event/defs.h"
+
+typedef struct {
+ Proc proc;
+ uint16_t width, height;
+ struct winsize winsize;
+ int tty_fd;
+} PtyProc;
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "os/pty_proc_unix.h.generated.h"
+#endif