diff options
author | Rui Abreu Ferreira <equalsraf@users.noreply.github.com> | 2016-06-05 01:02:56 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-06-04 20:02:56 -0400 |
commit | 6ed9d47a6e0a28d163e1cf78e521e1282b725a87 (patch) | |
tree | 0f36da37e1673184ef672edf869978f6d557daea /src/nvim/event/pty_process.h | |
parent | 02e6914a938fcca98f9062d502accb4d68a65d6e (diff) | |
download | rneovim-6ed9d47a6e0a28d163e1cf78e521e1282b725a87.tar.gz rneovim-6ed9d47a6e0a28d163e1cf78e521e1282b725a87.tar.bz2 rneovim-6ed9d47a6e0a28d163e1cf78e521e1282b725a87.zip |
pty_process: split into plat-specific files (#3976)
Diffstat (limited to 'src/nvim/event/pty_process.h')
-rw-r--r-- | src/nvim/event/pty_process.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/nvim/event/pty_process.h b/src/nvim/event/pty_process.h deleted file mode 100644 index 446d7fd3c8..0000000000 --- a/src/nvim/event/pty_process.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef NVIM_EVENT_PTY_PROCESS_H -#define NVIM_EVENT_PTY_PROCESS_H - -#include <sys/ioctl.h> - -#include "nvim/event/process.h" - -typedef struct pty_process { - Process process; - char *term_name; - uint16_t width, height; - struct winsize winsize; - int tty_fd; -} PtyProcess; - -static inline PtyProcess pty_process_init(Loop *loop, void *data) -{ - PtyProcess rv; - rv.process = process_init(loop, kProcessTypePty, data); - rv.term_name = NULL; - rv.width = 80; - rv.height = 24; - rv.tty_fd = -1; - return rv; -} - -#ifdef INCLUDE_GENERATED_DECLARATIONS -# include "event/pty_process.h.generated.h" -#endif -#endif // NVIM_EVENT_PTY_PROCESS_H |