aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_proc_unix.h
blob: 47f9af088e900016ae3cd3e592991b59e83b62c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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